Permalink
Browse files

jasmine-fixture will no longer blow up at interpret time if jQuery is…

… missing, only when it is used
  • Loading branch information...
1 parent 08fd71e commit 48059548e53d2c2a912bbac59aba2d2b8feb02cf @searls committed Jul 27, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 dist/jasmine-fixture.js
  2. +1 −1 package.json
  3. +1 −1 src/jasmine-fixture.coffee
View
@@ -1,6 +1,6 @@
/*
-jasmine-fixture 1.0.4
+jasmine-fixture 1.0.5
Makes injecting HTML snippets into the DOM easy & clean!
site: https://github.com/searls/jasmine-fixture
*/
@@ -160,7 +160,7 @@ site: https://github.com/searls/jasmine-fixture
jasmineFixture = root.jasmineFixture($);
return root.inject = root.inject || jasmineFixture.inject;
}
- })(jQuery);
+ })(window.jQuery);
createHTMLBlock = (function() {
var bindData, bindEvents, parseAttributes, parseClasses, parseContents, parseEnclosure, parseReferences, parseVariableScope, regAttr, regAttrDfn, regAttrs, regCBrace, regClass, regClasses, regData, regDatas, regEvent, regEvents, regExclamation, regId, regReference, regTag, regTagNotContent, regZenTagDfn;
View
@@ -1,7 +1,7 @@
{
"name": "jasmine-fixture",
"description": "Manage HTML fixtures for jasmine specs",
- "version": "1.0.4",
+ "version": "1.0.5",
"keywords": [
"jasmine",
"bdd"
@@ -120,7 +120,7 @@ site: https://github.com/searls/jasmine-fixture
if $
jasmineFixture = root.jasmineFixture($)
root.inject = root.inject or jasmineFixture.inject
-) jQuery
+)(window.jQuery)
createHTMLBlock = ( ->

0 comments on commit 4805954

Please sign in to comment.