Brad Dunbar
|
397d11e340
|
equals is deprecated; use equal instead
http://docs.jquery.com/QUnit/equal#actualexpectedmessage
|
2012-01-17 23:52:12 -05:00 |
|
Jeremy Ashkenas
|
1c053d9f71
|
Fixes #567 ... Adds a view. for the jQuery cached reference to a view's element ... and this.setElement() as a way to easily change it, redelegating events.
|
2012-01-17 13:54:42 -05:00 |
|
Jeremy Ashkenas
|
93cb997fc3
|
removing overzealous events setting API.
|
2012-01-12 16:37:18 -05:00 |
|
Jeremy Ashkenas
|
feefb1c352
|
Merge pull request #815 from zowens/master
View Event Callbacks as Functions
|
2012-01-12 13:34:55 -08:00 |
|
Jeremy Ashkenas
|
cb7090db77
|
fixes #838 -- allow View#attributes to be defined as a function, as well as a value.
|
2012-01-11 16:47:50 -05:00 |
|
Zack Owens
|
b081fe87a5
|
view events can now be a function that returns an events object
|
2012-01-07 10:17:57 -05:00 |
|
Zack Owens
|
1c158747a0
|
allowing view events to be functions instead of simply names of properties on a view
|
2011-12-25 00:03:56 -05:00 |
|
Jeremy Ashkenas
|
9fc7443d34
|
merging in #758 -- although the API leaves something to be desired.
|
2011-11-23 17:32:04 -05:00 |
|
Les Hill
|
ef40512d84
|
Rename to undelegateEvents
As suggested by @jashkenas https://github.com/documentcloud/backbone/pull/620#issuecomment-2132400
|
2011-09-19 10:30:45 -07:00 |
|
Les Hill
|
1aaffa1302
|
Clear event callbacks with clearEvents
|
2011-09-18 23:29:51 -07:00 |
|
Jeremy Ashkenas
|
6bb43c1b81
|
fixes #244 -- allow View#events to be defined as a function, making it easier to call super.
|
2011-08-03 16:41:49 -04:00 |
|
Jeremy Ashkenas
|
e8476afef0
|
Issue #366, support for namespaced events.
|
2011-05-24 13:07:11 -04:00 |
|
Jeremy Ashkenas
|
a5d01f91fe
|
fixing tests for IE / Webkit ... regex, not string match.
|
2011-05-23 09:50:26 -04:00 |
|
Jeremy Ashkenas
|
a5079aba1c
|
merging #179 + refactor, view 'attributes' for this.el
|
2011-02-07 16:10:08 -05:00 |
|
Jeremy Ashkenas
|
1c308280c8
|
Updating to latest QUnit, fixing Issue #153 ... overly aggressive urlError.
|
2010-12-30 12:15:02 -05:00 |
|
Jeremy Ashkenas
|
12f7ae9137
|
Merging Issue #149. View#el can be a string.
|
2010-12-17 13:56:19 -05:00 |
|
Sam Stephenson
|
71c98381f0
|
If Backbone.View#el is a string, pass it through $(...).get(0) in _ensureElement
|
2010-12-17 12:33:12 -06:00 |
|
Sam Stephenson
|
34d1d0ac93
|
Multiple views may listen for events on the same element
|
2010-12-11 23:16:53 -06:00 |
|
Jeremy Ashkenas
|
17602c3927
|
Make Backbone View's delegateEvents only ever unbind the events that it adds itself.
|
2010-12-10 09:58:32 -05:00 |
|
Sam Stephenson
|
e0cb5ee3b6
|
Zepto support
|
2010-11-30 16:53:21 -06:00 |
|
Jeremy Ashkenas
|
a7195a975d
|
Issue #28 -- handleEvents -> delegateEvents, which is now called in the constructor.
|
2010-10-25 10:51:23 -04:00 |
|
Jeremy Ashkenas
|
089fd5c1a2
|
Adding a test for Issue #33
|
2010-10-20 14:43:31 -04:00 |
|
Jeremy Ashkenas
|
e7ce57cc1d
|
Adding the beginnings of a speed suite to the Test page.
|
2010-10-14 14:46:53 -04:00 |
|
Jeremy Ashkenas
|
091e266077
|
Adding basic tests for initialize.
|
2010-10-13 17:33:20 -04:00 |
|
Jeremy Ashkenas
|
15b2ec81e8
|
handleEvents API tweaks
|
2010-10-12 16:47:56 -04:00 |
|
Jeremy Ashkenas
|
d8308f9712
|
added view tests
|
2010-10-12 16:19:02 -04:00 |
|
Jeremy Ashkenas
|
21dfb55072
|
axed setMode. setCallbacks -> bindCallbacks
|
2010-10-12 15:41:42 -04:00 |
|
Jeff Larson
|
c32d5360ae
|
fix a bug in view tests
|
2010-10-07 20:19:06 -04:00 |
|
Jeff Larson
|
07e1b77ded
|
stubbing out view test
|
2010-10-07 20:00:13 -04:00 |
|
Joe Germuska
|
d66f2ed161
|
some more tests
|
2010-10-02 15:58:26 -05:00 |
|