Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… missing, only when it is used
  • Loading branch information...
commit 48059548e53d2c2a912bbac59aba2d2b8feb02cf 1 parent 08fd71e
@searls authored
View
4 dist/jasmine-fixture.js
@@ -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
2  package.json
@@ -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"
View
2  src/jasmine-fixture.coffee
@@ -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 = ( ->
Please sign in to comment.
Something went wrong with that request. Please try again.