Avital Oliver
29d907e836
spacebars-compiler: Enforce the {{> React}} no sibling rule
...
The react-template-helper package exports a {{> React}} template that
can be used to insert React components into Blaze templates. Due to
the interface that `React.render()` provides, React components rendered
this way must be placed as the only child of their parent element.
Prior to this change, we had runtime (as opposed to compile time) tests
in the react-template-helper package. These tests couldn't detect all
error cases (such as when the sibling is a conditional that starts
empty).
It's unfortunate that this change will make all template compilation
slower but we could improve that later with a change @glasser described
where build plugins can know what other build plugins are running for
the app being built.
TODO: Consider adding an option to `Spacebars.codeGen` with the name
of the template being compiled and add that to the error. This would
bring these errors to the same level as the runtime ones currently
thrown in the react-template-helper package.
2015-06-15 21:23:13 -07:00
David Greenspan
93e35d1922
Fix external <script> tags in templates
...
Fixes #4415
See comment https://github.com/meteor/meteor/issues/4415#issuecomment-105688451 for explanation.
2015-05-27 10:39:33 -07:00
David Glasser
4daaa76b12
METEOR@1.0.4
2015-03-17 13:06:07 -07:00
David Glasser
af0469da35
Bump other packages to -rc.0
2015-03-05 22:54:07 -08:00
Slava Kim
27f249bfed
A lot of crazy package bumps
2015-01-21 14:03:55 -08:00
David Glasser
6b204ca73a
Bump package versions for 1.0.2
2014-12-19 10:31:59 -08:00
David Glasser
73b809c122
Bump versions for 1.0.2.
2014-12-11 22:44:41 -08:00
David Glasser
6ea8443f30
Update calls to addFiles, onUse, and onTest
2014-12-09 20:18:31 -08:00
David Glasser
de5f68cf70
bump all versions (due to source-map upgrade)
2014-11-25 09:06:26 -08:00
David Greenspan
180ef5408a
Blaze READMEs
2014-10-27 12:57:16 -07:00
Sashko Stubailo
36da5aecb4
Make all version numbers not have rc
2014-10-13 14:09:37 -07:00
Sashko Stubailo
698fbedb10
Bump all of the version numbers to rc.0
2014-10-07 17:10:48 -07:00
Sashko Stubailo
0cf088b6cb
Bump changed package versions
2014-10-03 16:13:08 -07:00
Sashko Stubailo
c98e6d8afb
Merge branch '0.9.4-pre.2' into devel
...
Conflicts:
History.md
packages/meteor-tool/package.js
packages/minimongo/package.js
packages/package-version-parser/package.js
scripts/admin/banners.json
scripts/admin/meteor-release-experimental.json
2014-10-02 16:04:13 -07:00
Sashko Stubailo
1e53f6b598
Bump all version numbers again after cherry-picking unipackage fix
2014-10-01 17:06:57 -07:00
Sashko Stubailo
0129c3f5ac
Bump all of the version numbers again, to republish with the unipackage.json fix
2014-10-01 15:43:05 -07:00
David Greenspan
3cd1d64de7
Merge pull request #2476 from cryptoquick/html5-main-tag
...
Add HTML5 `main` tag to HTML.knownElementNames
2014-09-30 14:14:50 -07:00
Sashko Stubailo
ce1a405101
Bump every single package version number due to a change in compilation
2014-09-30 11:51:17 -07:00
Sashko Stubailo
eecc272e4a
Bump every single package version number due to a change in compilation
2014-09-29 23:44:50 -07:00
Emily Stark
dd61c40bbc
bump more package numbers for 0.9.2.1
2014-09-15 16:07:26 -07:00
Emily Stark
5fe0937aa6
Bump package versions for 0.9.2.1.
...
These should have been bumped in 0.9.2
2014-09-15 15:55:19 -07:00
Hunter Trujillo
902308af39
Add HTML5 main tag to list of known element names.
2014-08-29 03:22:30 -06:00
Hunter Trujillo
a8b9cf2122
Alphabetize HTML.knownElementNames.
2014-08-29 03:21:21 -06:00
Matthew Arbesfeld
fca5c382d5
Merge branch 'release-0.9.1' into cordova-hcp
...
Conflicts:
docs/client/api.html
docs/client/api.js
meteor
packages/autoupdate/autoupdate_server.js
packages/autoupdate/package.js
packages/constraint-solver/package.js
packages/less/package.js
packages/meteor-tool/package.js
packages/meteor/package.js
packages/minimongo/package.js
packages/mongo-livedata/package.js
packages/oauth1/package.js
packages/package-version-parser/package.js
packages/spiderable/package.js
packages/standard-app-packages/package.js
packages/templating/package.js
packages/test-in-console/package.js
packages/webapp/package.js
scripts/admin/meteor-release-experimental.json
scripts/generate-dev-bundle.sh
tools/uniload.js
2014-08-28 21:13:59 -07:00
Sashko Stubailo
41910019e1
Renamed Deps to Tracker in all packages
2014-08-27 20:05:22 -07:00
Matthew Arbesfeld
c05397be11
Revert "Revert "Bump package versions""
...
This reverts commit 46ea7dcf30 .
2014-08-20 23:08:49 -07:00
Matthew Arbesfeld
46ea7dcf30
Revert "Bump package versions"
...
This reverts commit 97b389b9d6 .
2014-08-20 22:38:09 -07:00
Matthew Arbesfeld
97b389b9d6
Bump package versions
2014-08-20 21:37:56 -07:00
Matthew Arbesfeld
960f8907d3
Merge branch 'packaging' into cordova-hcp
...
Conflicts:
packages/constraint-solver/constraint-solver.js
packages/webapp/webapp_server.js
tools/tests/package-tests.js
2014-07-25 13:52:34 -07:00
Matthew Arbesfeld
e222e69cca
Create a default browser target if one is not specified.
2014-07-22 13:56:47 -07:00
David Glasser
996d347139
Merge branch 'devel' into packaging
...
Conflicts:
docs/client/api.html
docs/client/concepts.html
docs/client/introduction.html
meteor
packages/html-tools/package.js
packages/spacebars-common/package.js
packages/webapp/webapp_server.js
tools/bundler.js
2014-07-21 16:18:25 -07:00
ekatek
b9a714f028
ripping out internal, name and test from package.js files
2014-07-07 20:50:50 -07:00
David Greenspan
3d12c6dbfa
Fix a bunch of tests
2014-06-30 20:28:02 -07:00
David Greenspan
e0d6a2ef00
Make events and textareas work!
2014-06-30 17:49:03 -07:00
David Greenspan
ccfbb2910d
Make HTML.Visitor stack traces better in Chrome
2014-06-24 00:27:34 -07:00
David Greenspan
14d64c6cfb
Minor htmljs README changes
2014-06-23 10:19:18 -07:00
ekatek
fb709c9563
remove versions files from core packages
2014-06-16 22:11:31 -07:00
David Glasser
c5e5305a3b
Merge branch 'devel' into packaging
...
Conflicts:
tools/bundler.js
tools/packages.js
2014-06-11 12:02:57 -07:00
David Greenspan
3df4e95845
Merge branch 'devel' into blaze-refactor
...
Conflicts:
packages/spacebars-tests/template_tests.js
packages/ui/domrange.js
2014-05-27 13:38:59 -07:00
David Glasser
2db7490db5
Fix IE8 minification bug
...
The minifier changed the two uses of HTMLTag into two different symbols:
var n = function r() {
var t = this instanceof e.Tag ? this : new r(), n = 0, o = arguments.length && arguments[0];
return o && "object" == typeof o && o.constructor === Object && (t.attrs = o, n++),
n < arguments.length && (t.children = Array.prototype.slice.call(arguments, n)),
t;
};
return n.prototype = new e.Tag(), n.prototype.constructor = n, n.prototype.tagName = t,
n;
Then, IE8 apparently actually creates two separate objects for 'n' and
'r'; see #3 at http://kiro.me/blog/nfe_dilemma.html
So just because n.prototype is an e.Tag doesn't make r.prototype a e.Tag
This means that `new r() instanceof e.Tag` is false, and so the first
line of the function leads to infinite recursion.
I'm not sure if this is an uglify bug as well; dealing well with
multiple declarations of the same function may be out of spec.
Fixes #2037 .
2014-05-21 16:19:43 -07:00
ekatek
beb0e59b9d
new version files from teh new solver? Also, package.js correct with tests
2014-05-09 17:36:25 -07:00
David Greenspan
eb34ed8a25
Throw error on invalid attribute objects
2014-05-06 13:49:43 -07:00
ekatek
031890d2c5
don't store buildtime deps in the catalog
2014-05-04 16:56:58 -07:00
David Greenspan
e9c388933f
Document Blaze.Var, check in doctool.js
2014-04-29 11:05:03 -07:00
David Greenspan
310dcc5528
Finish documenting htmljs (except visitors)
2014-04-28 17:56:42 -07:00
David Greenspan
620adfb141
More docs
2014-04-28 10:36:15 -07:00
David Greenspan
55814cab4c
htmljs work
2014-04-28 09:29:31 -07:00
David Greenspan
db6202c69c
More HTMLjs docs
2014-04-27 19:16:47 -07:00
David Greenspan
30db75351f
Start of new html.js readme (via doctool script)
2014-04-26 11:30:37 -07:00
ekatek
23ad149a78
better versions files
2014-04-25 15:06:45 -07:00