Robin Ward
c7d367996a
PERF: Concatenate scripts in development mode
...
This improves my DOMContentLoaded from 9s+ to less than 4s.
Pinging @SamSaffron on this because this was previously controversial.
This implementation adds the `@sourceURL` directive so chrome correctly
identifies the source files.
2015-04-16 15:40:23 -04:00
Robin Ward
a83a19f6ce
ES6 module migrations
2015-04-15 14:54:36 -04:00
Robin Ward
f50280a889
Split out bulk operations modal and Discourse.Route.showModal
...
This makes it easier to share bulk topic operations, for example
from a plugin's custom topic list.
2015-03-10 15:40:56 -04:00
Robin Ward
4691fe35b3
FIX: 6to5 was renamed to Babel
...
I can't believe they just pulled the old gem and broke people deploying
our site to production. I get it, your name changed, but don't break
other people's apps with no deprecations.
2015-03-05 13:08:32 -05:00
Robin Ward
cf3582bedb
FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors.
2015-02-10 17:21:16 -05:00
Robin Ward
9584990477
Whitelist specific ES6 features we want for now.
2015-02-06 13:44:17 -05:00
Robin Ward
a65e0a80ba
Add support for more ES6 features
2015-02-06 13:26:33 -05:00
Robin Ward
9a07945a16
FIX: Don't add constants for ES6 modules in plugins
...
If you're using ES6 in a plugin, you shouldn't be depending on the
backwards compatibility layer. That's for proper Discourse only.
2015-02-03 13:14:05 -05:00
Robin Ward
0fc0533134
FEATURE: Admin interface for adding custom fields for users
2014-09-25 16:17:51 -04:00
Robin Ward
0adfeb1cff
ES6: Mega update of controllers
2014-08-13 10:22:47 -04:00
Robin Ward
c709ea8f9e
FIX: Don't generate compatibility layer for test files
2014-08-06 18:07:27 -04:00
Robin Ward
15a51c6316
ES6: Patch up a few issues with the admin controllers conversion
2014-07-25 14:17:58 -04:00
Robin Ward
4c51258526
PERF: Speed up JSHint tests by using local buffers instead of AJAX
...
requests.
2014-07-22 14:13:37 -04:00
Robin Ward
fd3ceae1d6
ES6: Enable compatibility layer for routes
2014-07-22 12:09:29 -04:00
Robin Ward
44ee7587c0
FIX: Plugins should be required by the path we generate for them
2014-06-09 15:22:11 -04:00
Robin Ward
010da29957
FIX: Plugin transpilation should work in workspaces that aren't called
...
`discourse`
2014-05-20 16:54:59 -04:00
Robin Ward
5bbe938e82
FIX: Backwards compatibility layer was not handling constants that ended
...
with 's'
2014-05-20 11:13:43 -04:00
Robin Ward
275fa02082
Generate compatibility layer for Components too
2014-05-16 16:39:41 -04:00
Robin Ward
ba8b45792c
Plugins: Prefix discourse/plugins/PLUGINNAME
for plugin export names.
2014-05-15 16:31:45 -04:00
Robin Ward
ad90d9710d
Add an ENV variable to enable the stricter, plugin-incompatible ES6
...
behaviour for development.
2014-05-13 12:49:02 -04:00
Robin Ward
092f7510b4
Plugin Backwards compatibility layer for ES6
2014-05-12 15:53:38 -04:00
Robin Ward
0e296e767a
Remove unused stuff.
2014-05-08 11:35:34 -04:00
Robin Ward
c3ccc3e309
Transpile ES6 even without node, just using rubyracer
2014-05-08 11:35:33 -04:00