Commit a10d8100 authored by Robert Speicher's avatar Robert Speicher

Update jasmine-fixture

parent f3d63eeb
/* jasmine-fixture - 1.2.2 /* jasmine-fixture - 1.3.1
* Makes injecting HTML snippets into the DOM easy & clean! * Makes injecting HTML snippets into the DOM easy & clean!
* https://github.com/searls/jasmine-fixture * https://github.com/searls/jasmine-fixture
*/ */
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
(function($) { (function($) {
var ewwSideEffects, jasmineFixture, originalAffix, originalJasmineDotFixture, originalJasmineFixture, root, _, _ref; var ewwSideEffects, jasmineFixture, originalAffix, originalJasmineDotFixture, originalJasmineFixture, root, _, _ref;
root = this; root = (1, eval)('this');
originalJasmineFixture = root.jasmineFixture; originalJasmineFixture = root.jasmineFixture;
originalJasmineDotFixture = (_ref = root.jasmine) != null ? _ref.fixture : void 0; originalJasmineDotFixture = (_ref = root.jasmine) != null ? _ref.fixture : void 0;
originalAffix = root.affix; originalAffix = root.affix;
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
create = function(selectorOptions, attach) { create = function(selectorOptions, attach) {
var $top; var $top;
$top = null; $top = null;
_(selectorOptions.split(/[ ](?=[^\]]*?(?:\[|$))/)).inject(function($parent, elementSelector) { _(selectorOptions.split(/[ ](?![^\{]*\})(?=[^\]]*?(?:\[|$))/)).inject(function($parent, elementSelector) {
var $el; var $el;
if (elementSelector === ">") { if (elementSelector === ">") {
return $parent; return $parent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment