Skip to content

Commit 88591e9

Browse files
committed
Remove extra whitespace + fix test typo
1 parent 4688a4e commit 88591e9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

backbone-nested.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@
250250
var attr = _.last(path);
251251
var attrStr = Backbone.NestedModel.createAttrStr(path);
252252

253-
254253
// See if this is a new value being set
255254
var isNewValue = !_.isEqual(val[attr], newValue);
256255

test/nested-model.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ $(document).ready(function() {
326326
var provider = new Klass({
327327
"fields.0.key": 'LOGIN2'
328328
});
329-
equal(provider.get('fields.0..key'), 'LOGIN2');
329+
equal(provider.get('fields.0.key'), 'LOGIN2');
330330

331331
deepEqual(provider.toJSON(), {
332332
"fields": [{
@@ -336,7 +336,6 @@ $(document).ready(function() {
336336
});
337337

338338

339-
340339
// ----- CHANGE EVENTS --------
341340

342341
test("change event on top-level attribute", function() {

0 commit comments

Comments
 (0)