Commit Graph

723 Commits

Author SHA1 Message Date
Tim Branyen
7420342d5c Merge pull request #821 from iros/819.idAttribute
Added idAttribute navigation link to sidebar
2011-12-26 12:15:54 -08:00
Irene Ros
1591c4290d Added navigation link 2011-12-26 15:07:02 -05:00
Tim Branyen
a04c248120 Merge pull request #820 from iros/819.idAttribute
documenting idAttribute
2011-12-26 12:05:17 -08:00
Irene Ros
570156914d #819 documenting idAttribute. Also requested on pull req #210. 2011-12-26 15:00:02 -05:00
Jeremy Ashkenas
4226d58797 Merge branch 'master' of github.com:documentcloud/backbone 2011-12-26 09:35:32 -08:00
Jeremy Ashkenas
ee305c469e Fixes #818 2011-12-26 09:35:11 -08:00
Jeremy Ashkenas
061fd3ba4f Merge pull request #809 from islandr/master
Allow Model.urlRoot to be a function
2011-12-25 22:46:12 -08:00
=
93a39110de Use getValue to interpret urlRoot instead. 2011-12-22 17:19:07 -10:00
=
9374fe5a30 Merge branch 'urlrootasfunction' 2011-12-22 15:27:45 -10:00
=
b4e650b98f A model's urlRoot can now be a function allowing definition at runtime. 2011-12-22 15:23:12 -10:00
Tim Branyen
a9fcd9b3ce Merge pull request #807 from iros/qunit.force.order
Force quint test execution order.
2011-12-22 09:26:17 -08:00
Irene Ros
9d145abfe8 Forcing quint test execution order. 2011-12-22 12:23:50 -05:00
Jeremy Ashkenas
04cb79a528 Merge pull request #805 from fabiomcosta/patch-1
\w still includes \d
2011-12-20 19:33:42 -08:00
Fábio M. Costa
9e80ca1457 \w still includes \d http://www.regular-expressions.info/charclass.html#shorthand 2011-12-21 01:29:50 -02:00
Jeremy Ashkenas
d644a4bc0f Merge pull request #804 from davidmurdoch/patch-1
Optimize regular expressions.
2011-12-20 15:51:27 -08:00
David Murdoch
6ccdbb3a60 Optimize regular expressions. The capture groups aren't needed/used; the character classes will do the job just fine.
Also, normalize the use of quotation-marks (change `"` to `'`' where appropriate).
2011-12-20 18:18:08 -05:00
Jeremy Ashkenas
cda555acc5 Adding Posterous Spaces as an example app 2011-12-20 13:46:53 -05:00
Jeremy Ashkenas
dd83f2057c Fixes #788 2011-12-19 11:20:37 -05:00
Jeremy Ashkenas
c3852b8cd1 unifying property-or-function logic. 2011-12-19 10:54:50 -05:00
Jeremy Ashkenas
d806f7e1f3 fixing commit note bug. 2011-12-16 09:59:06 -05:00
Jeremy Ashkenas
a50b71434b Fixes #792 2011-12-16 09:43:43 -05:00
Jeremy Ashkenas
1400eea12a Fixes #732 2011-12-06 16:39:37 -05:00
Jeremy Ashkenas
1626fa7447 Fixes #734 2011-12-06 16:21:20 -05:00
Jeremy Ashkenas
64d8fd6ca2 merging in ducksboard. 2011-12-06 15:29:45 -05:00
Aitor Guevara Escalante
14dd201574 Add Ducksboard as an example app. 2011-12-05 20:34:15 +01:00
Jeremy Ashkenas
e10525d4d4 Merge pull request #772 from rgieseke/master
Fixes issue 498.
2011-12-05 08:48:49 -08:00
Jeremy Ashkenas
dcc041ab4a Merge pull request #773 from judofyr/model-parse
Collection.reset/add should invoke Model's parse function (with tests)
2011-12-05 07:46:03 -08:00
Magnus Holm
67f689df9c Col.fetch() should create models with parse:true:
This is done in two steps:

1. Col.fetch() now defaults to parse:true
2. Col.reset() and _prepareModel now passes along
   parse:true.

This means that Col.add() also accepts the
parse:true option.
2011-12-04 18:27:36 +01:00
Magnus Holm
bdbcfa9da2 parse:true runs the attributes through parse():
`new Model(attr, {parse:true})` will now call
Model.prototype.parse(attr). This is useful if
you want to create a model out of an object
structure from an external server.
2011-12-04 17:48:47 +01:00
Robert Gieseke
fd78dbf14e Only remove single '#' when getting URL fragment.
Firefox has a bug that auto-decodes the hash fragment
(https://bugzilla.mozilla.org/show_bug.cgi?id=483304), which makes
it impossible to have a hash like '#%23backbone.js'.
2011-12-04 14:31:01 +01:00
Jeremy Ashkenas
8adac9136c Merge pull request #769 from lmp/master
Bugfix: replace hash should not append hash mark to javascript:0
2011-11-30 16:00:13 -08:00
Tim Harper
1a06f9a215 Bugfix: replace hash should not append hash mark to javascript:0
It's invalid to do so. Instead it should replace the entire URL,
javascript:0 included.

This gets rid of a javascript error that was emitted in IE7 every time
navigate was used with replace: true
2011-11-30 13:33:40 -07:00
Jeremy Ashkenas
e8c1ce7158 Merge pull request #761 from d2s/master
Update two links at index.html to latest URLs
2011-11-24 10:50:19 -08:00
Daniel Schildt
db8d85e26b Update two links at index.html to latest URLs
- Link to Jake was broken.
- PhantomJS has official website with better information.
2011-11-24 18:23:48 +02:00
Jeremy Ashkenas
c785ecb15a Merge pull request #759 from lmp/master
Update remaining call to _updateLocationHash to _updateHash
2011-11-23 14:35:37 -08:00
Jeremy Ashkenas
9fc7443d34 merging in #758 -- although the API leaves something to be desired. 2011-11-23 17:32:04 -05:00
Tim Harper
42ee70e9d9 Update remaining call to _updateLocationHash to _updateHash
(Finish refactoring job from 1332246b8f)
2011-11-23 15:31:58 -07:00
Jeremy Ashkenas
43c815aedb Merge branch 'master' of https://github.com/TMaYaD/backbone 2011-11-23 17:03:44 -05:00
Jeremy Ashkenas
6687cde196 merging in #739 -- a massive simplification. 2011-11-23 16:48:39 -05:00
TMaYaD
2d2198c354 Return the jquery object for el when this.$ is called without argument 2011-11-24 02:38:08 +05:30
Jeremy Ashkenas
bc9fbcbefb Merge branch 'set-unset-clear' of https://github.com/braddunbar/backbone 2011-11-23 15:57:24 -05:00
Jeremy Ashkenas
41853416a7 Fixes #674 -- pass options through to validate() 2011-11-23 15:48:55 -05:00
Jeremy Ashkenas
1332246b8f merging in #750 -- support for replaceSTate 2011-11-23 14:59:14 -05:00
Jeremy Ashkenas
30a89ac5cc Merge branch 'replaceState' of https://github.com/lmp/backbone 2011-11-23 14:03:39 -05:00
Jeremy Ashkenas
f5acb6d214 hardlining the sidebar line for Lion. 2011-11-23 13:46:53 -05:00
Jeremy Ashkenas
cfc5b1f3c0 updating copyright dates 2011-11-23 13:43:37 -05:00
Jeremy Ashkenas
7f80359e49 Merge branch 'master' of github.com:documentcloud/backbone 2011-11-23 13:30:32 -05:00
Jeremy Ashkenas
66800f5c8e Upgrading our Underscore.js test dep to 1.2.2 2011-11-23 13:30:07 -05:00
Jeremy Ashkenas
b2cf0dc833 Update index.html 2011-11-22 09:10:44 -05:00
Jeremy Ashkenas
6df607090c Merge pull request #755 from alonsogarciapablo/master
Fix typo in Backbone.Collection documentation
2011-11-22 06:09:27 -08:00