Skip to content

Commit 18b445e

Browse files
committed
Backbone 0.9.9
1 parent 87a25d5 commit 18b445e

8 files changed

+912
-653
lines changed

backbone-min.js

+37-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backbone.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Backbone.js 0.9.9-pre
1+
// Backbone.js 0.9.9
22

33
// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
44
// Backbone may be freely distributed under the MIT license.
@@ -34,7 +34,7 @@
3434
}
3535

3636
// Current version of the library. Keep in sync with `package.json`.
37-
Backbone.VERSION = '0.9.9-pre';
37+
Backbone.VERSION = '0.9.9';
3838

3939
// Require Underscore, if we're on the server, and it's not already present.
4040
var _ = root._;
@@ -566,12 +566,6 @@
566566
return _.clone(this._previousAttributes);
567567
},
568568

569-
// Check if the model is currently in a valid state. It's only possible to
570-
// get into an *invalid* state if you're using silent changes.
571-
isValid: function(options) {
572-
return !this.validate || !this.validate(this.attributes, options);
573-
},
574-
575569
// Run validation against the next complete set of model attributes,
576570
// returning `true` if all is well. If a specific `error` callback has
577571
// been passed, call that instead of firing the general `"error"` event.

docs/backbone-localstorage.html

+69-27
Large diffs are not rendered by default.

docs/backbone.html

+519-454
Large diffs are not rendered by default.

docs/docco.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ h1, h2, h3, h4, h5, h6 {
2121
h1 {
2222
margin-top: 40px;
2323
}
24+
hr {
25+
border: 0 none;
26+
border-top: 1px solid #e5e5ee;
27+
height: 1px;
28+
margin: 20px 0;
29+
}
2430
#container {
2531
position: relative;
2632
}
@@ -115,7 +121,7 @@ table td {
115121
}
116122
pre, tt, code {
117123
font-size: 12px; line-height: 18px;
118-
font-family: Monaco, Consolas, "Lucida Console", monospace;
124+
font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
119125
margin: 0; padding: 0;
120126
}
121127

docs/todos.html

+36-35
Large diffs are not rendered by default.

index.html

+241-92
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"test": "phantomjs test/vendor/runner.js test/index.html"
1515
},
1616
"main" : "backbone.js",
17-
"version" : "0.9.9-pre"
17+
"version" : "0.9.9"
1818
}

0 commit comments

Comments
 (0)