Permalink
Browse files

cleanup/styling

  • Loading branch information...
1 parent ae0da2b commit 8903b3d4c05cc558c70b3c94adc47321920a6c11 @travisjeffery travisjeffery committed Oct 1, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/jasmine-jquery.js
View
@@ -201,9 +201,8 @@ jasmine.StyleFixtures.prototype.cleanUp = function() {
}
jasmine.StyleFixtures.prototype.createStyle_ = function(html) {
- var styleText = $('<div></div>').html(html).text()
-
- var style = $('<style>' + styleText + '</style>')
+ var styleText = $('<div></div>').html(html).text(),
+ style = $('<style>' + styleText + '</style>')
this.fixturesNodes_.push(style)
@@ -222,8 +221,6 @@ jasmine.StyleFixtures.prototype.makeFixtureUrl_ = jasmine.Fixtures.prototype.mak
jasmine.StyleFixtures.prototype.proxyCallTo_ = jasmine.Fixtures.prototype.proxyCallTo_
-/** jasmine json fixtures */
-
jasmine.getJSONFixtures = function() {
return jasmine.currentJSONFixtures_ = jasmine.currentJSONFixtures_ || new jasmine.JSONFixtures()
}

0 comments on commit 8903b3d

Please sign in to comment.