Commit graph

79 commits

Author SHA1 Message Date
Rob
38a4ca4ec0 Load fonts locally when in development. 2015-12-01 16:47:11 -08: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
Scott Erickson
82e2344fa5 Fixed new module loading system when optimized. 2014-11-29 00:34:55 -08:00
Scott Erickson
31214e854e Wabam. Refactored a bunch of stuff into 'core' folders so that it's clearer which files are being loaded first thing, and which are not. Also reworked a bunch of the anymatch things in config.coffee, cause there were better ways. 2014-11-28 17:49:41 -08:00
Scott Erickson
b698745e05 Set up the site to load its logic and templates piecemeal rather than in one giant app.js file. 2014-11-28 16:38:56 -08:00
Nick Winter
f86c726fc8 Made iPad touch events work on inventory equipping and progress slider. 2014-10-27 13:32:32 -07:00
Michael Schmatz
cd0bed2df2 Added FastClick
iOS artificially introduces 300ms of delay on clicks, which FastClick
eliminates.
2014-10-26 18:34:04 -04:00
Nick Winter
e71767cc1f Enabled sourcemaps for production. 2014-10-26 11:02:34 -07:00
Matt Lott
3fd24a28ce Eliminate unjoined file brunch warnings
By specifying the directories that should be watched/built (i.e.
exclude `test/server`)

Checking this fix in from @es128
2014-10-18 22:11:39 -07:00
Nick Winter
5dd7c3ffa1 Adding some iPad event publishing optimizations. Fixed #1623. 2014-10-01 10:58:19 -07:00
Nick Winter
6e1d048bfd Can't brunch, even in production, with the new sass-brunch. 2014-09-30 19:57:36 -07:00
Nick Winter
2611e441d7 Trying to standardize sass imports in an effort to test #1615, to no avail. 2014-09-30 16:17:54 -07:00
Matt Lott
1e864d49e2 Box2D in own script, rename Vector
Renaming Vector to Box2DVector to avoid naming collisions when
including Box2D on the main thread.  There may be a way to change how
scripts are built and included to avoid this rename, but it wasn’t
obvious.

Box2D declares a Vector in the global namespace, which conflicts with
the CodeCombat Vector.
2014-09-29 12:48:58 -07:00
Scott Erickson
1406a970ea Bunch of fixes to get the level editor working again. 2014-08-25 20:34:46 -07:00
Ruben Vereecken
ae4a5eb460 Deduplicated bootstrap include 2014-07-14 18:52:23 +02:00