David Greenspan
d7ef9efe12
Support HTMLification
...
Breaks webapp_server pretty hard
2014-06-26 15:14:08 -07:00
David Greenspan
51a6445e11
Break out Blaze.DOMMaterializer into own file
2014-06-26 10:32:07 -07:00
David Greenspan
3480c67077
Make inclusions work in Blaze.View world
2014-06-26 10:25:57 -07:00
David Greenspan
2bef2924a4
Make Blaze.View not require new
2014-06-26 09:51:13 -07:00
David Greenspan
7eecf9a9ff
Make templates use Blaze.Views (break the world)
...
The path forward is to start with an empty app and get basic template tags working again, then finish rewriting the builtins (with/if/unless/each).
2014-06-25 18:08:41 -07:00
David Greenspan
ecc392e662
ReactiveVar, View kinds, new #with
2014-06-25 17:57:25 -07:00
David Greenspan
dcca743938
Materialized callback
...
It should be pretty easy now to write #each in the form of a View.
2014-06-24 16:03:08 -07:00
David Greenspan
5965007d3d
Better cleanup accuracy
...
Recurse into nested views
2014-06-24 15:34:21 -07:00
David Greenspan
b152f98cb9
Teardown and callbacks for Views
2014-06-24 15:06:27 -07:00
David Greenspan
613189a4bc
Rename Removal -> Teardown in DOMBackend
2014-06-24 15:06:04 -07:00
David Greenspan
4984471983
Attempts at proper teardown
2014-06-24 14:18:00 -07:00
David Greenspan
6ef7a1ca9e
parentView and onCreated / onDestroyed
2014-06-24 14:17:44 -07:00
David Greenspan
4cfe3838aa
Test destroyed callback better
...
We weren’t actually testing that templates removed by control flow (like #each) get their destroyed callback called.
This test should make it to devel regardless of the fate of this branch.
2014-06-24 13:49:45 -07:00
David Greenspan
1f36fc1982
Start on Blaze.View
2014-06-24 12:16:19 -07:00
David Greenspan
867fb617fb
Remove stray “debugger”
2014-06-24 00:27:57 -07:00
David Greenspan
ccfbb2910d
Make HTML.Visitor stack traces better in Chrome
2014-06-24 00:27:34 -07:00
David Greenspan
0a1a01a584
Merge branch 'devel' into blaze-refactor
...
Conflicts:
packages/deps/deps.js
(Mysterious conflict makes no sense. deps.js wasn't changed on devel...?)
2014-06-23 20:23:10 -07:00
David Greenspan
5da79a13d6
Improve Deps stack traces
...
Change from `_assign(Deps.Computation.prototype, {foo: …})` style to `Computation.prototype.foo = …` style.
With the old style, Chrome had really bad names for stack frames, like `_assign.flush` instead of `Deps.flush`.
2014-06-23 20:03:44 -07:00
David Greenspan
d2e8596bb2
Make DOMRange stack traces more better
...
Switch all methods to `DOMRange.prototype.myMethod =` style.
Maybe we should just switch JSClass to this style.
2014-06-23 17:54:01 -07:00
David Greenspan
a5b51c4f59
Fix UI hooks (with respect to tests)
2014-06-23 16:51:06 -07:00
David Greenspan
8b747e60c9
Improve stack traces in DOMRange
2014-06-23 16:47:15 -07:00
Emily Stark
51e1429d86
Make docs npm install one line
2014-06-23 16:39:27 -07:00
Emily Stark
969009460c
Update docs for bcrypt dependency
2014-06-23 16:35:55 -07:00
Emily Stark
e551266c26
Add npm install bcrypt to bundle README
2014-06-23 16:35:07 -07:00
David Greenspan
ed862ddc2e
Port UI hooks (still a failing test)
2014-06-23 16:25:45 -07:00
David Greenspan
d16e94945e
Implement “move” in DOMRange, prepare for UI hooks
2014-06-23 15:58:07 -07:00
David Greenspan
87123cc63a
Kill spacebars-common package
...
Now that Spacebars and SpacebarsCompiler are different symbols, it’s not necessary.
2014-06-23 15:13:00 -07:00
David Greenspan
1c42080ab3
Fix style attribute tests
2014-06-23 15:04:10 -07:00
David Greenspan
095b3a26c6
Merge remote-tracking branch 'origin/devel' into blaze-refactor
...
Conflicts:
packages/spacebars-tests/template_tests.js
packages/ui/base.js
packages/ui/dombackend.js
packages/ui/dombackend_tests.js
packages/ui/domrange.js
packages/ui/domrange_tests.js
packages/ui/each.js
packages/ui/render.js
packages/ui/render_tests.js
2014-06-23 10:56:55 -07:00
David Greenspan
14d64c6cfb
Minor htmljs README changes
2014-06-23 10:19:18 -07:00
Emily Stark
1c12b1a49f
Merge branch 'master' into devel
...
Conflicts:
History.md
packages/accounts-password/password_server.js
packages/spacebars-tests/template_tests.html
packages/spacebars-tests/template_tests.js
packages/ui/base.js
2014-06-23 08:18:19 -07:00
Emily Stark
0787e2f5d8
Merge branch 'release-0.8.2'
2014-06-23 08:14:17 -07:00
Emily Stark
5cba1289e8
Update docs and examples
2014-06-23 08:13:51 -07:00
Emily Stark
fba413d597
update banner, notices, History
2014-06-23 08:04:59 -07:00
Emily Stark
2b87aa1f00
Do feature detection instead of browser detection for ui test.
...
The previous `isIE()` check returned false for IE11.
release/0.8.2
release/download-test-0.8.2
release/0.8.2-rc7
2014-06-22 16:31:13 -07:00
Emily Stark
69455d4df7
Use _.toArray to make IE8 happy
release/0.8.2-rc6
2014-06-22 08:27:42 -07:00
David Greenspan
15d23022b2
Remove more dead code
2014-06-21 18:34:18 -07:00
David Greenspan
1ebafb4d8c
Remove dead code
2014-06-21 18:25:57 -07:00
David Greenspan
0940e4dde8
Spacebars.include2 -> Spacebars.include
2014-06-21 18:21:50 -07:00
David Greenspan
99d6545d70
Spacebars.With2 -> Spacebars.With
2014-06-21 18:20:36 -07:00
David Greenspan
a72c497276
UI.body2 -> UI.body
2014-06-21 18:19:09 -07:00
David Greenspan
72d9cb9b90
Fix {{> content}} data context
2014-06-21 18:16:12 -07:00
David Greenspan
9a5e856bdf
Reorder and rename test
2014-06-21 18:15:48 -07:00
David Greenspan
c0cc41b8ac
Fix events (port bug fix from devel)
2014-06-21 18:15:27 -07:00
David Greenspan
84b17ba5db
Fix 1.5 tests
2014-06-21 15:58:28 -07:00
David Greenspan
e4d9d32a71
Fix a test of UI._templateInstance()
...
This actually morphs the test into a different test. The old test wasn’t really valid; it checked that you could reach the rendered DOM of a helper from the templateInstance retrieved from the helper. It only worked before because templateInstance.firstNode was an empty text node marker, so when the helper returned “first”, it would in effect save a pointer to the empty text node before the position where “first” would appear.
2014-06-21 15:54:18 -07:00
David Greenspan
5dbd5218f3
Fix test case groups
2014-06-20 19:29:53 -07:00
David Greenspan
0436c1ce20
Fix this in global helper
2014-06-20 17:53:06 -07:00
Emily Stark
7b1cddad0c
Merge branch 'fix-ui-hooks-nested-domranges' into release-0.8.2
release/0.8.2-rc5
2014-06-20 17:10:32 -07:00
Emily Stark
631bce6d5b
Merge branch 'bcrypt-change-password' into release-0.8.2
2014-06-20 16:44:35 -07:00