Commit graph

92 commits

Author SHA1 Message Date
Phoenix Eliot
327474e53c Fix Brunch complaining about fonts' bower.json files
Before this, Brunch would try to copy bower.json from those folders into our /fonts folder. Because there were two bower.json files, Brunch would always give this error:
`Error: ENOENT: no such file or directory, unlink '~/work/codecombat/public/fonts/bower.json'`

This fix just ignores those bower.json files instead of trying to put them in /public/fonts.
2016-09-13 15:23:54 -07:00
Nick Winter
ed320a8d9e WebSurfaceView now parsing player code through virtual DOM into iframe 2016-07-14 18:07:36 -07:00
Rob
6a03163fcb - Use modern esper engine if we detect browser support it.
- Change streaming batch size depending on how far into simulation we are.
- Hoist try catch out of onWorldLoad so Chrome and JIT it.
2016-06-22 15:07:43 -07:00
Nick Winter
8fce97aad3 Fully remove Clojure and Io. Use new Aether 0.5.0. 2016-05-24 12:00:04 -07:00
Nick Winter
13a5d58113 Remove bless-brunch since we no longer support IE9 (or 10) 2016-05-02 13:08:39 -07:00
Rob
9fec6f6613 Don't break jQuery-UI autocomplete with algolia's 2016-04-21 11:21:11 -07:00
phoenixeliot
4a72ffc185 Implement all of teacher-dashboard 2016-04-04 15:19:27 -07:00
Rob
f10bcd632c Add esper support 2016-03-29 23:27:27 -07:00
Scott Erickson
13b9d81e4c Fix some demo views 2016-01-07 09:40:35 -08:00
Rob
3baea9683c Additional java support. 2016-01-04 16:41:24 -08:00
CodeCombat
41a532cb50 WIP - cashew integration 2016-01-04 16:27:27 -08:00
Nick Winter
ee68229536 Merge pull request #3222 from UltCombo/windows-dev-server
Fix dev server (`npm run dev`) on Windows, fixes #3219
2015-12-07 13:58:20 -08:00
Rob
38a4ca4ec0 Load fonts locally when in development. 2015-12-01 16:47:11 -08:00
UltCombo
08143ce955 Fix dev server (npm run dev) on Windows, fixes #3219
Reference: #3219

Also trim some trailing whitespace.
2015-12-01 00:00:11 -02:00
Rob
855fe0631d Caps. 2015-11-30 13:58:59 -05:00
Rob
99a8193492 Give assets time to copy before reloading page. 2015-11-30 13:56:03 -05:00
Rob
45e5e975f1 Uglify in // 2015-11-04 13:41:13 -08:00
Rob
361b5229e6 Use an newer, official build of ace instead of just copying the files into our source tree. 2015-11-03 17:33:35 -08:00
Rob
3dae9aac88 Add env var to put brunch in production mode. 2015-11-02 19:04:38 -08:00
Rob
5f56053d8f Tame nodemon 2015-10-23 13:16:30 -07:00
Scott Erickson
fad9d0a757 Remove auto-reload delay, see if we can do without it now
According to a comment now deleted, we had auto reload delay 300ms for race
conditions, mainly onCompile tweaking source map file sourceMappingURL values.
That only happens in production now, though, so let's try removing it for development.

Original comment added: 5104f0a1e7
Michael deleted it :( 6d7864c415
2015-10-23 10:47:01 -07:00
Rob
8d43be2236 Switch from ruby sass to node-sass.
Support heroko style PORT specification
2015-10-22 09:23:47 -07:00
Rob
625babd4a0 Silly brunch, guess we'll just call nodemon 2015-10-21 17:13:39 -07:00
Rob
2275c78b2d Install bower packages and brunch build on npm install.
`npm run dev` now gives you a brunch watch that is also running the dev server
2015-10-21 16:12:55 -07:00
Nick Winter
11c03b3905 Think I fixed commonJSHeader regardless of npm version. 2015-09-25 13:58:42 -07:00
eschuler21
257f0f6b1e Update config.coffee 2015-09-25 09:55:54 -04:00
Nick Winter
f02a8b54f3 Fixed #2596. Stopped bless-brunch from using its cacheBuster feature. Set no-cache header for /db/model.type/slug so that we can use Cloudflare on /db/model.type/object-id. Fixed a coffeelint warning. 2015-04-07 19:03:35 -07:00
Alan Hohn
ae7f7fa44f vagrant brunch detect file changes made on host 2015-04-03 17:21:28 -04:00
Nick Winter
60db16b1c3 Making all code languages load for level editor to avoid busted level previews. Added CoffeeScript compiler to web worker so we can use Referee extraCode. 2015-03-04 11:29:03 -08:00
Nick Winter
5addacddf0 First draft of ParticleMan particle emitters for showing hidden levels in CampaignView. 2015-01-29 16:11:13 -08:00
yaur
03093fc4a5 Don't match to string literals, because the path seperator is different on
windows
2015-01-28 17:23:03 -05:00
yaur
fa1b1d1c1f replace all slashes instead of the first one 2015-01-28 15:45:18 -05:00
Nick Winter
7dd128780f Unlocking all audition levels in Auditions campaign. 2015-01-21 11:49:56 -08:00
Scott Erickson
e5c5f0ba04 Fixed Karma client test runner. 2014-12-12 13:12:35 -08:00
Scott Erickson
46f7bbaaf5 Fixed client tests. Also updated mock-ajax to the latest version, carrying over my own tweaks. 2014-12-09 13:41:44 -08:00
Nick Winter
7854d6bf5a Fixed #1868. Fixed #1846. Made sure that home view slogan always fits in all languages. 2014-12-07 20:17:22 -08:00
Scott Erickson
7f3f1a6038 Set up aether module loading, but it's not working, so creating a branch until it works. 2014-12-01 15:43:22 -08:00
Nick Winter
c9a6949a15 Build, curse ye! 2014-11-30 19:56:22 -08:00
Nick Winter
29694e2973 Maybe don't brunch non-JS compiled files. 2014-11-30 19:43:17 -08:00
Nick Winter
1cada9dd77 Hack to fix source map URLs in production brunch. 2014-11-30 17:06:21 -08:00
Scott Erickson
fd04eb4dc5 Fixed treema compilation in brunch config. 2014-11-30 11:01:09 -08:00
Scott Erickson
be809337c4 Refactored to make TreemaUtils generally available but TreemaNode only available for views that need it. 2014-11-29 17:51:40 -08:00
Scott Erickson
a1ce2fbf32 Put difflib/view in the correct vendor.js anymatch set. 2014-11-29 17:51:40 -08:00
Scott Erickson
3a4eaa718f Did what I needed to do to get d3 to not be loaded during play: refactored the ladder views out of the play wad, and got the Router to handle viewClass being a string rather than a fully loaded module. 2014-11-29 16:46:51 -08:00
Scott Erickson
6fccae579a Made d3 load dynamically for the pages that use it. Refactored a bunch of templates and sass files to have their names match with their respective views. 2014-11-29 15:31:56 -08:00
Scott Erickson
02ddd7f698 Fixed #1816. Cleaned up logging in config.coffee. 2014-11-29 13:47:04 -08:00
Scott Erickson
129e07e231 Refactored a bunch of editor stuff to be included in the wads. Fixed a bug with the I18NEditModelView. 2014-11-29 13:36:48 -08:00
Scott Erickson
9b5228afd9 Refactored the GameMenu to be part of play.js. Set up the config to automatically bundle templates into their respective views, if their names match. 2014-11-29 12:46:04 -08:00
Scott Erickson
1c33842125 Refactored core templates into a core folder. 2014-11-29 11:39:37 -08:00
Scott Erickson
0bbcdd5698 Made all of lib into a wad. Fixed AuthModal. 2014-11-29 08:54:18 -08:00