Kevin Ngo
fcaa8cde6e
migrate to official require.js
...
- third party js library compatability
- match dev and prod environments so there are no surprises when bundling
- ability to use requirejs facilities such as shim
- no surprises that we're using a different module loader in prod than dev
- use official supported library
2014-06-26 16:25:59 -07:00
Daniel Huigens
5852d98c28
Create symlinks instead of hard links
...
When installing zamboni, commonplace tries to create a hard link from
one directory to another, which, well, doesn't work. Creating symlinks
instead worked for me.
2014-06-06 13:19:48 +02:00
Kevin Ngo
5d29aa41c9
remove the fireplace-specific debug page from commonplace
...
it includes buckets/mobilenetwork stuff
fireplace is only commonplace project that would be used mainly on mobile
2014-06-05 16:45:25 -04:00
Kevin Ngo
1285d4ed57
move common js modules into separate directory (bug 949547)
2014-05-19 11:25:58 -07:00
Kevin Ngo
fdc7944ac3
exclude localforage from bundle (bug 1009119)
2014-05-13 11:15:29 -07:00
Kevin Ngo
510b8860f7
localforage tag for tarako mkt
2014-05-12 12:34:37 -07:00
Mathieu Pillard
868b4cd723
Make RE_PLURALIZER non-greedy to fix parsing of weird (but valid) .po files
...
Needed to make .po containing plural forms like these work:
"Plural-Forms: nplurals=2; plural=(n != 1);Content-Type: text/plain; "
2014-05-06 18:02:21 +02:00
Christopher Van
6690143e65
add `settings_package_*.js` to `commonplace includes` blacklist
2014-04-22 12:44:37 -07:00
Christopher Van
136cc6eeba
remove assert.js and views/tests.js from minified JS bundle (bug 990319)
2014-03-31 18:28:33 -07:00
Christopher Van
0e1ddd72e6
minify splash-screen stylesheet (bug 965925)
2014-03-17 17:46:56 -07:00
Christopher Van
6a67adc9c4
fix paths on windows ( fixes #23 )
2014-02-07 13:33:22 -08:00
Christopher Van
bb9a8ae3fe
it's called build_id.txt
2014-01-14 18:52:40 -08:00
Chris Van
cb5e13bb05
build_id fixes (thanks @mattbasta)
2013-12-12 15:00:18 -08:00
Chris Van
17eae25a8e
fix build_id nonsense
2013-12-10 18:14:28 -08:00
Matt Basta
6480f5d494
commonplace update improvements
...
- No more hello_world.js shenanigans
- Paths are transformed in a safer way
2013-12-09 17:04:26 -08:00
Matt Basta
557a75b484
Run init during fiddle
2013-12-09 16:46:52 -08:00
Matt Basta
53a8d97c07
Fix broken commonplace clean
2013-12-09 16:26:53 -08:00
Matt Basta
6bcdf1f665
Fix to allow CLI tools to run synchronously
2013-12-09 16:08:36 -08:00
Matt Basta
353a05ba50
Add commonplace fiddle
2013-12-09 16:04:04 -08:00
Matt Basta
5254d5e57a
Whitespace-only TemplateData nodes should not be completely stripped.
...
I realized that this isn't entirely safe, so I'm replacing it with the safer-er version of the optimization.
2013-12-07 12:20:32 -08:00
Matt Basta
f1d8fd6db3
Some cleanup for @cvan
2013-12-05 19:20:17 -08:00
mattbasta
dc3c74e008
Add line/pos numbers to lint output
2013-12-06 00:40:41 +00:00
mattbasta
5879fefc6c
Add commonplace linter
2013-12-05 23:50:17 +00:00
Matt Basta
4a42767742
Merge pull request #15 from mozilla/optimizations
...
Add some nunjucks compiler optimizations
2013-12-05 14:13:37 -08:00
Matt Basta
30f426fe5d
Add some nunjucks compiler optimizations
2013-12-05 14:13:17 -08:00
Matt Basta
52aef571af
Initialize dist files after update (issue #8 )
2013-12-05 08:57:06 -08:00
Matt Basta
49f4d135e1
Bump clean-css to 2.0.x
2013-12-03 14:04:55 -08:00
Chris Van
f1d73322e7
keep track of url()s so we can appcache them (bug 942368)
2013-11-22 17:00:38 -08:00
Matt Basta
4fd6b15d4f
Upgrade to nunjucks 1.0.0 (bug 912307)
2013-11-20 18:20:22 -08:00
Matt Basta
5b119e8723
Expose `require` as a requireable dependency
...
Yo dawg, I heard you like AMD
2013-11-11 14:54:43 -08:00
mattbasta
4b932c9fed
Update clean to clean new locales dir
2013-11-08 19:32:18 +00:00
mattbasta
607a64910e
Add commonplace ignore
2013-11-07 22:41:10 +00:00
mattbasta
429b6f3fa2
Allow app settings config from damperrc
2013-11-06 21:58:10 +00:00
Matt Basta
9ac88a0bff
Fix for carry-over nunjucks issue in filename escaping
...
https://github.com/jlongster/nunjucks/issues/146
2013-11-01 11:41:27 -07:00
Matt Basta
4779ae87cb
Add commonplace init command
2013-10-21 14:58:15 -07:00
Chris Van
2db3ba8439
handle locales without country codes (bug 926883)
2013-10-16 15:29:09 -07:00
Chris Van
61084cf685
fix locale naming to match iso 3166's format (bug 926883)
2013-10-16 15:25:53 -07:00
Chris Van
b25ae635d2
fix sr-latn to be sr-Latn (bug 926883)
2013-10-16 15:11:50 -07:00
Chris Van
de35dcd638
fix sr-LATN to be sr-Latn (bug 926883)
2013-10-15 14:01:54 -07:00
Matt Basta
b1e2c58b3c
Fix for extracting strings from nested defers (bug 921677)
2013-09-30 13:16:46 -07:00
Matt Basta
2069088909
Make template L10n comment regex greedy
...
@clouserw was going to file a bug but I didn't see it.
2013-09-23 16:19:57 -07:00
Chris Van
950bf255c2
fix langpacks for any locales with '-' (bug 918088)
2013-09-18 14:46:42 -07:00
Matt Basta
8146f2dc41
Update dist gitignore to ignore langpacks directory
2013-09-18 10:26:11 -07:00
Matt Basta
52cb3621cf
Remove locale directory from dist commonplace gitignore
...
Thanks Chuck
2013-09-18 10:17:30 -07:00
Matt Basta
60fc3914fd
Make compileCSS ordering deterministic
2013-09-16 11:28:22 -07:00
Matt Basta
97b2cf14ac
Improvements to commonplace update
2013-09-13 15:42:55 -07:00
Christopher Van
2ae175192a
add settings_local.js to .gitignore
2013-09-12 16:21:36 -07:00
Chris Van
4a0b28395e
add build_* to .gitignore
2013-09-11 17:26:39 -07:00
Matt Basta
4c725c3d32
Remove spurious files from the default gitignore
...
Noo good! NO GOODDD
2013-09-11 17:06:32 -07:00
Matt Basta
44d13cd454
Only update strings when string changes exist (bug 912759)
2013-09-11 15:59:31 -07:00