Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
a10d8100
Commit
a10d8100
authored
May 04, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update jasmine-fixture
parent
f3d63eeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vendor/assets/javascripts/jasmine-fixture.js
vendor/assets/javascripts/jasmine-fixture.js
+3
-3
No files found.
vendor/assets/javascripts/jasmine-fixture.js
100644 → 100755
View file @
a10d8100
/* 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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment