Skip to content

Commit

Permalink
Fix JS lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Oct 29, 2015
1 parent a607644 commit d9a8bb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js-tests/build/specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ describe( 'Shortcode View Constructor', function(){
var ShortcodeViewConstructorWithoutFetch = ShortcodeViewConstructor;
ShortcodeViewConstructorWithoutFetch.delayedFetch = function() {
return new $.Deferred();
}
};
ShortcodeViewConstructor.initialize();
expect( ShortcodeViewConstructor.shortcodeModel.formatShortcode() ).toEqual( '[no_inner_content foo="bar"]burrito[/no_inner_content]' );
});
Expand Down Expand Up @@ -229,7 +229,7 @@ describe( 'Shortcode View Constructor', function(){
var ShortcodeViewConstructorWithoutFetch = ShortcodeViewConstructor;
ShortcodeViewConstructorWithoutFetch.delayedFetch = function() {
return new $.Deferred();
}
};
ShortcodeViewConstructor.initialize();
expect( ShortcodeViewConstructor.shortcodeModel.formatShortcode() ).toEqual( '[no_custom_attribute foo="bar" bar="banana"]' );
});
Expand Down
4 changes: 2 additions & 2 deletions js-tests/src/shortcodeViewConstructorSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe( 'Shortcode View Constructor', function(){
var ShortcodeViewConstructorWithoutFetch = ShortcodeViewConstructor;
ShortcodeViewConstructorWithoutFetch.delayedFetch = function() {
return new $.Deferred();
}
};
ShortcodeViewConstructor.initialize();
expect( ShortcodeViewConstructor.shortcodeModel.formatShortcode() ).toEqual( '[no_inner_content foo="bar"]burrito[/no_inner_content]' );
});
Expand Down Expand Up @@ -72,7 +72,7 @@ describe( 'Shortcode View Constructor', function(){
var ShortcodeViewConstructorWithoutFetch = ShortcodeViewConstructor;
ShortcodeViewConstructorWithoutFetch.delayedFetch = function() {
return new $.Deferred();
}
};
ShortcodeViewConstructor.initialize();
expect( ShortcodeViewConstructor.shortcodeModel.formatShortcode() ).toEqual( '[no_custom_attribute foo="bar" bar="banana"]' );
});
Expand Down

0 comments on commit d9a8bb1

Please sign in to comment.