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
Tatuya Kamada
gitlab-ce
Commits
c74b7eb2
Commit
c74b7eb2
authored
Feb 10, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix overlooked window binding in spec files
parent
b7aaec05
Changes
24
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
24 additions
and
24 deletions
+24
-24
spec/javascripts/awards_handler_spec.js
spec/javascripts/awards_handler_spec.js
+1
-1
spec/javascripts/behaviors/autosize_spec.js
spec/javascripts/behaviors/autosize_spec.js
+1
-1
spec/javascripts/behaviors/quick_submit_spec.js
spec/javascripts/behaviors/quick_submit_spec.js
+1
-1
spec/javascripts/behaviors/requires_input_spec.js
spec/javascripts/behaviors/requires_input_spec.js
+1
-1
spec/javascripts/extensions/array_spec.js.es6
spec/javascripts/extensions/array_spec.js.es6
+1
-1
spec/javascripts/extensions/jquery_spec.js
spec/javascripts/extensions/jquery_spec.js
+1
-1
spec/javascripts/fixtures/emoji_menu.js
spec/javascripts/fixtures/emoji_menu.js
+1
-1
spec/javascripts/header_spec.js
spec/javascripts/header_spec.js
+1
-1
spec/javascripts/issue_spec.js
spec/javascripts/issue_spec.js
+1
-1
spec/javascripts/line_highlighter_spec.js
spec/javascripts/line_highlighter_spec.js
+1
-1
spec/javascripts/merge_request_spec.js
spec/javascripts/merge_request_spec.js
+1
-1
spec/javascripts/merge_request_tabs_spec.js
spec/javascripts/merge_request_tabs_spec.js
+1
-1
spec/javascripts/merge_request_widget_spec.js
spec/javascripts/merge_request_widget_spec.js
+1
-1
spec/javascripts/new_branch_spec.js
spec/javascripts/new_branch_spec.js
+1
-1
spec/javascripts/notes_spec.js
spec/javascripts/notes_spec.js
+1
-1
spec/javascripts/project_title_spec.js
spec/javascripts/project_title_spec.js
+1
-1
spec/javascripts/right_sidebar_spec.js
spec/javascripts/right_sidebar_spec.js
+1
-1
spec/javascripts/search_autocomplete_spec.js
spec/javascripts/search_autocomplete_spec.js
+1
-1
spec/javascripts/shortcuts_issuable_spec.js
spec/javascripts/shortcuts_issuable_spec.js
+1
-1
spec/javascripts/syntax_highlight_spec.js
spec/javascripts/syntax_highlight_spec.js
+1
-1
spec/javascripts/u2f/authenticate_spec.js
spec/javascripts/u2f/authenticate_spec.js
+1
-1
spec/javascripts/u2f/mock_u2f_device.js
spec/javascripts/u2f/mock_u2f_device.js
+1
-1
spec/javascripts/u2f/register_spec.js
spec/javascripts/u2f/register_spec.js
+1
-1
spec/javascripts/zen_mode_spec.js
spec/javascripts/zen_mode_spec.js
+1
-1
No files found.
spec/javascripts/awards_handler_spec.js
View file @
c74b7eb2
...
@@ -229,4 +229,4 @@ require('./fixtures/emoji_menu');
...
@@ -229,4 +229,4 @@ require('./fixtures/emoji_menu');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/behaviors/autosize_spec.js
View file @
c74b7eb2
...
@@ -18,4 +18,4 @@ require('~/behaviors/autosize');
...
@@ -18,4 +18,4 @@ require('~/behaviors/autosize');
return
$
(
document
).
trigger
(
'
load
'
);
return
$
(
document
).
trigger
(
'
load
'
);
};
};
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/behaviors/quick_submit_spec.js
View file @
c74b7eb2
...
@@ -103,4 +103,4 @@ require('~/behaviors/quick_submit');
...
@@ -103,4 +103,4 @@ require('~/behaviors/quick_submit');
return
$
.
Event
(
'
keydown
'
,
$
.
extend
({},
defaults
,
options
));
return
$
.
Event
(
'
keydown
'
,
$
.
extend
({},
defaults
,
options
));
};
};
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/behaviors/requires_input_spec.js
View file @
c74b7eb2
...
@@ -36,4 +36,4 @@ require('~/behaviors/requires_input');
...
@@ -36,4 +36,4 @@ require('~/behaviors/requires_input');
return
expect
(
$
(
'
.submit
'
)).
not
.
toBeDisabled
();
return
expect
(
$
(
'
.submit
'
)).
not
.
toBeDisabled
();
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/extensions/array_spec.js.es6
View file @
c74b7eb2
...
@@ -42,4 +42,4 @@ require('~/extensions/array');
...
@@ -42,4 +42,4 @@ require('~/extensions/array');
});
});
});
});
});
});
}).call(
this
);
}).call(
window
);
spec/javascripts/extensions/jquery_spec.js
View file @
c74b7eb2
...
@@ -39,4 +39,4 @@ require('~/extensions/jquery');
...
@@ -39,4 +39,4 @@ require('~/extensions/jquery');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/fixtures/emoji_menu.js
View file @
c74b7eb2
This diff is collapsed.
Click to expand it.
spec/javascripts/header_spec.js
View file @
c74b7eb2
...
@@ -50,4 +50,4 @@ require('~/lib/utils/text_utility');
...
@@ -50,4 +50,4 @@ require('~/lib/utils/text_utility');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/issue_spec.js
View file @
c74b7eb2
...
@@ -165,4 +165,4 @@ require('~/issue');
...
@@ -165,4 +165,4 @@ require('~/issue');
expect
(
$
(
'
.issue_counter
'
)).
toHaveText
(
1
);
expect
(
$
(
'
.issue_counter
'
)).
toHaveText
(
1
);
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/line_highlighter_spec.js
View file @
c74b7eb2
...
@@ -227,4 +227,4 @@ require('~/line_highlighter');
...
@@ -227,4 +227,4 @@ require('~/line_highlighter');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/merge_request_spec.js
View file @
c74b7eb2
...
@@ -26,4 +26,4 @@ require('~/merge_request');
...
@@ -26,4 +26,4 @@ require('~/merge_request');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/merge_request_tabs_spec.js
View file @
c74b7eb2
...
@@ -209,4 +209,4 @@ require('vendor/jquery.scrollTo');
...
@@ -209,4 +209,4 @@ require('vendor/jquery.scrollTo');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/merge_request_widget_spec.js
View file @
c74b7eb2
...
@@ -189,4 +189,4 @@ require('~/lib/utils/datetime_utility');
...
@@ -189,4 +189,4 @@ require('~/lib/utils/datetime_utility');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/new_branch_spec.js
View file @
c74b7eb2
...
@@ -166,4 +166,4 @@ require('~/new_branch_form');
...
@@ -166,4 +166,4 @@ require('~/new_branch_form');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/notes_spec.js
View file @
c74b7eb2
...
@@ -73,4 +73,4 @@ require('~/lib/utils/text_utility');
...
@@ -73,4 +73,4 @@ require('~/lib/utils/text_utility');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/project_title_spec.js
View file @
c74b7eb2
...
@@ -51,4 +51,4 @@ require('~/project');
...
@@ -51,4 +51,4 @@ require('~/project');
window
.
gon
=
{};
window
.
gon
=
{};
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/right_sidebar_spec.js
View file @
c74b7eb2
...
@@ -79,4 +79,4 @@ require('~/extensions/jquery.js');
...
@@ -79,4 +79,4 @@ require('~/extensions/jquery.js');
expect
(
todoToggleSpy
.
calls
.
count
()).
toEqual
(
1
);
expect
(
todoToggleSpy
.
calls
.
count
()).
toEqual
(
1
);
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/search_autocomplete_spec.js
View file @
c74b7eb2
...
@@ -175,4 +175,4 @@ require('vendor/fuzzaldrin-plus');
...
@@ -175,4 +175,4 @@ require('vendor/fuzzaldrin-plus');
expect
(
enterKeyEvent
.
isDefaultPrevented
()).
toBe
(
true
);
expect
(
enterKeyEvent
.
isDefaultPrevented
()).
toBe
(
true
);
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/shortcuts_issuable_spec.js
View file @
c74b7eb2
...
@@ -79,4 +79,4 @@ require('~/shortcuts_issuable');
...
@@ -79,4 +79,4 @@ require('~/shortcuts_issuable');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/syntax_highlight_spec.js
View file @
c74b7eb2
...
@@ -41,4 +41,4 @@ require('~/syntax_highlight');
...
@@ -41,4 +41,4 @@ require('~/syntax_highlight');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/u2f/authenticate_spec.js
View file @
c74b7eb2
...
@@ -69,4 +69,4 @@ require('./mock_u2f_device');
...
@@ -69,4 +69,4 @@ require('./mock_u2f_device');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/u2f/mock_u2f_device.js
View file @
c74b7eb2
...
@@ -30,4 +30,4 @@
...
@@ -30,4 +30,4 @@
return
MockU2FDevice
;
return
MockU2FDevice
;
})();
})();
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/u2f/register_spec.js
View file @
c74b7eb2
...
@@ -74,4 +74,4 @@ require('./mock_u2f_device');
...
@@ -74,4 +74,4 @@ require('./mock_u2f_device');
});
});
});
});
});
});
}).
call
(
this
);
}).
call
(
window
);
spec/javascripts/zen_mode_spec.js
View file @
c74b7eb2
...
@@ -76,4 +76,4 @@ require('~/zen_mode');
...
@@ -76,4 +76,4 @@ require('~/zen_mode');
keyCode
:
27
keyCode
:
27
}));
}));
};
};
}).
call
(
this
);
}).
call
(
window
);
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