David Greenspan
95c4a2124c
fix misc stuff
2013-07-25 05:22:03 -07:00
David Greenspan
c91307e32e
try to get apps working (crashes Chrome)
2013-07-25 04:07:55 -07:00
David Greenspan
df3939bf2d
mv ui2 ui; port spacebars (untested)
2013-07-25 01:32:18 -07:00
David Greenspan
23fa59bd77
bodies inherit from UI.Body
2013-07-16 19:45:56 -07:00
David Greenspan
3a5b5e28c8
support multiple <body> tags
2013-07-16 19:35:16 -07:00
David Greenspan
759ae2c1d7
Merge branch 'devel' into shark
...
Conflicts:
packages/templating/plugin/html_scanner.js
2013-07-16 17:38:50 -07:00
David Greenspan
14f6574135
spacebars almost runnable
2013-07-16 17:31:09 -07:00
Geoff Schmidt
eb1e15e457
Improve error reporting when parsing Handlebars templates
2013-07-15 22:21:57 -07:00
David Greenspan
a342232868
Merge branch 'devel' into shark
2013-07-12 20:27:43 -07:00
David Glasser
faf49921be
replace barely-used lineForLine/includePositionInErrors with use of source maps.
...
Note that this is only triggered when coffeescript manages to output invalid JS,
which should be unlikely.
This does remove the feature where lines and columns were suppressed for parse
errors in the output of template compilation. but (a) that shouldn't happen,
and (b) we'll fix this by implementing source maps for spacebars.
2013-07-12 10:11:31 -07:00
David Greenspan
21ed1bdbe0
Merge branch 'linker' into shark
2013-07-01 18:54:51 -07:00
David Greenspan
8aed126bad
{{@ annotations}}, better error messages
2013-06-27 10:44:55 -07:00
David Glasser
e33694874d
Test slices now never contain exports.
...
@export is now an error in test slices.
This is preparation for ensuring that any slice with exports has at least
"Package.foo = {}"; without this commit, both the use and test slice would (with
that change) try to overwrite Package.foo.
Remove the attempt to allow @export in 'use strict' CoffeeScript files:
ECMAScript 'use strict' is fundamentally incompatible with our implementation of
exports, and it was probably a bug that this used to work at all.
2013-06-26 12:26:12 -07:00
David Greenspan
6551e3a366
search Template.foo namespace for components
...
fix inheritance superClass tracking
2013-06-25 05:08:14 -07:00
David Greenspan
a872fe9565
Templates in Template.foo (wip)
2013-06-20 16:25:21 -07:00
David Greenspan
6c118d97f0
warn when Body not a RootComponent
2013-06-17 17:18:38 -07:00
David Greenspan
dc75e8877b
use spacebars for templating in build
2013-06-17 17:18:38 -07:00
Geoff Schmidt
0b2d536e38
Clean up error reporting in HTML template scanner
2013-05-13 11:56:51 -07:00
Geoff Schmidt
ed18c6ffb5
Comprehensive build-time error reporting system. In particular: if an error occurs, the build will try to continue to identify any other potential problems so that they can be flagged too. Syntax errors are captured and dealt with programmatically, rather than just being echoed to stderr by node. Stack traces are parsed to pull out file and line information, and a distinction is made between the 'user' and 'internal' portions of the stack. All of this is at build time only -- it has not been extended to (run-time) server or browser yet. Also, no source maps yet, though line numbers are computed correctly for units within the linker.
2013-05-13 11:52:43 -07:00
Geoff Schmidt
8c72a28e35
Port coffeescript package to new plugin API
2013-05-13 11:52:43 -07:00
Geoff Schmidt
d5660c3938
Make 'templating' use the new plugin API. Now handlebars can be a separate package again.
2013-05-13 11:52:43 -07:00