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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0f31c5a9
Commit
0f31c5a9
authored
Feb 10, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace implicit this == window with explicit binding
parent
71377c1a
Changes
105
Hide whitespace changes
Inline
Side-by-side
Showing
105 changed files
with
105 additions
and
105 deletions
+105
-105
app/assets/javascripts/admin.js
app/assets/javascripts/admin.js
+1
-1
app/assets/javascripts/api.js
app/assets/javascripts/api.js
+1
-1
app/assets/javascripts/application.js
app/assets/javascripts/application.js
+1
-1
app/assets/javascripts/aside.js
app/assets/javascripts/aside.js
+1
-1
app/assets/javascripts/autosave.js
app/assets/javascripts/autosave.js
+1
-1
app/assets/javascripts/awards_handler.js
app/assets/javascripts/awards_handler.js
+1
-1
app/assets/javascripts/behaviors/autosize.js
app/assets/javascripts/behaviors/autosize.js
+1
-1
app/assets/javascripts/behaviors/details_behavior.js
app/assets/javascripts/behaviors/details_behavior.js
+1
-1
app/assets/javascripts/behaviors/quick_submit.js
app/assets/javascripts/behaviors/quick_submit.js
+1
-1
app/assets/javascripts/behaviors/requires_input.js
app/assets/javascripts/behaviors/requires_input.js
+1
-1
app/assets/javascripts/blob/blob_file_dropzone.js
app/assets/javascripts/blob/blob_file_dropzone.js
+1
-1
app/assets/javascripts/blob/blob_gitignore_selector.js
app/assets/javascripts/blob/blob_gitignore_selector.js
+1
-1
app/assets/javascripts/blob/blob_gitignore_selectors.js
app/assets/javascripts/blob/blob_gitignore_selectors.js
+1
-1
app/assets/javascripts/blob/blob_license_selector.js
app/assets/javascripts/blob/blob_license_selector.js
+1
-1
app/assets/javascripts/blob_edit/blob_edit_bundle.js
app/assets/javascripts/blob_edit/blob_edit_bundle.js
+1
-1
app/assets/javascripts/blob_edit/edit_blob.js
app/assets/javascripts/blob_edit/edit_blob.js
+1
-1
app/assets/javascripts/breakpoints.js
app/assets/javascripts/breakpoints.js
+1
-1
app/assets/javascripts/broadcast_message.js
app/assets/javascripts/broadcast_message.js
+1
-1
app/assets/javascripts/build.js
app/assets/javascripts/build.js
+1
-1
app/assets/javascripts/build_artifacts.js
app/assets/javascripts/build_artifacts.js
+1
-1
app/assets/javascripts/commit.js
app/assets/javascripts/commit.js
+1
-1
app/assets/javascripts/commit/file.js
app/assets/javascripts/commit/file.js
+1
-1
app/assets/javascripts/commit/image_file.js
app/assets/javascripts/commit/image_file.js
+1
-1
app/assets/javascripts/commits.js
app/assets/javascripts/commits.js
+1
-1
app/assets/javascripts/compare.js
app/assets/javascripts/compare.js
+1
-1
app/assets/javascripts/compare_autocomplete.js.es6
app/assets/javascripts/compare_autocomplete.js.es6
+1
-1
app/assets/javascripts/confirm_danger_modal.js
app/assets/javascripts/confirm_danger_modal.js
+1
-1
app/assets/javascripts/copy_to_clipboard.js
app/assets/javascripts/copy_to_clipboard.js
+1
-1
app/assets/javascripts/dispatcher.js.es6
app/assets/javascripts/dispatcher.js.es6
+1
-1
app/assets/javascripts/dropzone_input.js
app/assets/javascripts/dropzone_input.js
+1
-1
app/assets/javascripts/extensions/jquery.js
app/assets/javascripts/extensions/jquery.js
+1
-1
app/assets/javascripts/files_comment_button.js
app/assets/javascripts/files_comment_button.js
+1
-1
app/assets/javascripts/flash.js
app/assets/javascripts/flash.js
+1
-1
app/assets/javascripts/gfm_auto_complete.js.es6
app/assets/javascripts/gfm_auto_complete.js.es6
+1
-1
app/assets/javascripts/gl_dropdown.js
app/assets/javascripts/gl_dropdown.js
+1
-1
app/assets/javascripts/graphs/stat_graph.js
app/assets/javascripts/graphs/stat_graph.js
+1
-1
app/assets/javascripts/graphs/stat_graph_contributors.js
app/assets/javascripts/graphs/stat_graph_contributors.js
+1
-1
app/assets/javascripts/graphs/stat_graph_contributors_graph.js
...ssets/javascripts/graphs/stat_graph_contributors_graph.js
+1
-1
app/assets/javascripts/graphs/stat_graph_contributors_util.js
...assets/javascripts/graphs/stat_graph_contributors_util.js
+1
-1
app/assets/javascripts/group_avatar.js
app/assets/javascripts/group_avatar.js
+1
-1
app/assets/javascripts/groups_select.js
app/assets/javascripts/groups_select.js
+1
-1
app/assets/javascripts/importer_status.js
app/assets/javascripts/importer_status.js
+1
-1
app/assets/javascripts/issuable_context.js
app/assets/javascripts/issuable_context.js
+1
-1
app/assets/javascripts/issuable_form.js
app/assets/javascripts/issuable_form.js
+1
-1
app/assets/javascripts/issue.js
app/assets/javascripts/issue.js
+1
-1
app/assets/javascripts/issue_status_select.js
app/assets/javascripts/issue_status_select.js
+1
-1
app/assets/javascripts/labels.js
app/assets/javascripts/labels.js
+1
-1
app/assets/javascripts/labels_select.js
app/assets/javascripts/labels_select.js
+1
-1
app/assets/javascripts/layout_nav.js
app/assets/javascripts/layout_nav.js
+1
-1
app/assets/javascripts/lib/cropper.js
app/assets/javascripts/lib/cropper.js
+1
-1
app/assets/javascripts/lib/raphael.js
app/assets/javascripts/lib/raphael.js
+1
-1
app/assets/javascripts/lib/utils/animate.js
app/assets/javascripts/lib/utils/animate.js
+1
-1
app/assets/javascripts/lib/utils/common_utils.js.es6
app/assets/javascripts/lib/utils/common_utils.js.es6
+1
-1
app/assets/javascripts/lib/utils/datetime_utility.js.es6
app/assets/javascripts/lib/utils/datetime_utility.js.es6
+1
-1
app/assets/javascripts/lib/utils/notify.js
app/assets/javascripts/lib/utils/notify.js
+1
-1
app/assets/javascripts/lib/utils/text_utility.js
app/assets/javascripts/lib/utils/text_utility.js
+1
-1
app/assets/javascripts/lib/utils/type_utility.js
app/assets/javascripts/lib/utils/type_utility.js
+1
-1
app/assets/javascripts/lib/utils/url_utility.js.es6
app/assets/javascripts/lib/utils/url_utility.js.es6
+1
-1
app/assets/javascripts/line_highlighter.js
app/assets/javascripts/line_highlighter.js
+1
-1
app/assets/javascripts/logo.js
app/assets/javascripts/logo.js
+1
-1
app/assets/javascripts/member_expiration_date.js.es6
app/assets/javascripts/member_expiration_date.js.es6
+1
-1
app/assets/javascripts/merge_request.js
app/assets/javascripts/merge_request.js
+1
-1
app/assets/javascripts/merged_buttons.js
app/assets/javascripts/merged_buttons.js
+1
-1
app/assets/javascripts/milestone.js
app/assets/javascripts/milestone.js
+1
-1
app/assets/javascripts/milestone_select.js
app/assets/javascripts/milestone_select.js
+1
-1
app/assets/javascripts/namespace_select.js
app/assets/javascripts/namespace_select.js
+1
-1
app/assets/javascripts/network/branch_graph.js
app/assets/javascripts/network/branch_graph.js
+1
-1
app/assets/javascripts/network/network.js
app/assets/javascripts/network/network.js
+1
-1
app/assets/javascripts/network/network_bundle.js
app/assets/javascripts/network/network_bundle.js
+1
-1
app/assets/javascripts/new_branch_form.js
app/assets/javascripts/new_branch_form.js
+1
-1
app/assets/javascripts/new_commit_form.js
app/assets/javascripts/new_commit_form.js
+1
-1
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+1
-1
app/assets/javascripts/notifications_dropdown.js
app/assets/javascripts/notifications_dropdown.js
+1
-1
app/assets/javascripts/notifications_form.js
app/assets/javascripts/notifications_form.js
+1
-1
app/assets/javascripts/project.js
app/assets/javascripts/project.js
+1
-1
app/assets/javascripts/project_avatar.js
app/assets/javascripts/project_avatar.js
+1
-1
app/assets/javascripts/project_find_file.js
app/assets/javascripts/project_find_file.js
+1
-1
app/assets/javascripts/project_fork.js
app/assets/javascripts/project_fork.js
+1
-1
app/assets/javascripts/project_import.js
app/assets/javascripts/project_import.js
+1
-1
app/assets/javascripts/project_new.js
app/assets/javascripts/project_new.js
+1
-1
app/assets/javascripts/project_select.js
app/assets/javascripts/project_select.js
+1
-1
app/assets/javascripts/project_show.js
app/assets/javascripts/project_show.js
+1
-1
app/assets/javascripts/projects_list.js
app/assets/javascripts/projects_list.js
+1
-1
app/assets/javascripts/render_gfm.js
app/assets/javascripts/render_gfm.js
+1
-1
app/assets/javascripts/render_math.js
app/assets/javascripts/render_math.js
+1
-1
app/assets/javascripts/right_sidebar.js
app/assets/javascripts/right_sidebar.js
+1
-1
app/assets/javascripts/search.js
app/assets/javascripts/search.js
+1
-1
app/assets/javascripts/shortcuts.js
app/assets/javascripts/shortcuts.js
+1
-1
app/assets/javascripts/shortcuts_dashboard_navigation.js
app/assets/javascripts/shortcuts_dashboard_navigation.js
+1
-1
app/assets/javascripts/shortcuts_find_file.js
app/assets/javascripts/shortcuts_find_file.js
+1
-1
app/assets/javascripts/shortcuts_issuable.js
app/assets/javascripts/shortcuts_issuable.js
+1
-1
app/assets/javascripts/shortcuts_navigation.js
app/assets/javascripts/shortcuts_navigation.js
+1
-1
app/assets/javascripts/shortcuts_network.js
app/assets/javascripts/shortcuts_network.js
+1
-1
app/assets/javascripts/single_file_diff.js
app/assets/javascripts/single_file_diff.js
+1
-1
app/assets/javascripts/snippet/snippet_bundle.js
app/assets/javascripts/snippet/snippet_bundle.js
+1
-1
app/assets/javascripts/star.js
app/assets/javascripts/star.js
+1
-1
app/assets/javascripts/subscription_select.js
app/assets/javascripts/subscription_select.js
+1
-1
app/assets/javascripts/syntax_highlight.js
app/assets/javascripts/syntax_highlight.js
+1
-1
app/assets/javascripts/tree.js
app/assets/javascripts/tree.js
+1
-1
app/assets/javascripts/u2f/error.js
app/assets/javascripts/u2f/error.js
+1
-1
app/assets/javascripts/u2f/register.js
app/assets/javascripts/u2f/register.js
+1
-1
app/assets/javascripts/u2f/util.js
app/assets/javascripts/u2f/util.js
+1
-1
app/assets/javascripts/users/calendar.js
app/assets/javascripts/users/calendar.js
+1
-1
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+1
-1
app/assets/javascripts/zen_mode.js
app/assets/javascripts/zen_mode.js
+1
-1
No files found.
app/assets/javascripts/admin.js
View file @
0f31c5a9
...
...
@@ -61,4 +61,4 @@
return
Admin
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/api.js
View file @
0f31c5a9
...
...
@@ -147,4 +147,4 @@
};
window
.
Api
=
Api
;
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/application.js
View file @
0f31c5a9
...
...
@@ -243,4 +243,4 @@ require('es6-promise').polyfill();
gl
.
utils
.
initTimeagoTimeout
();
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/aside.js
View file @
0f31c5a9
...
...
@@ -22,4 +22,4 @@
return
Aside
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/autosave.js
View file @
0f31c5a9
...
...
@@ -59,4 +59,4 @@
return
Autosave
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/awards_handler.js
View file @
0f31c5a9
...
...
@@ -377,4 +377,4 @@ var emojiAliases = require('emoji-aliases');
return
AwardsHandler
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/behaviors/autosize.js
View file @
0f31c5a9
...
...
@@ -25,4 +25,4 @@ var autosize = require('vendor/autosize');
autosize
.
update
(
$fields
);
return
$fields
.
css
(
'
resize
'
,
'
vertical
'
);
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/behaviors/details_behavior.js
View file @
0f31c5a9
...
...
@@ -23,4 +23,4 @@
return
e
.
preventDefault
();
});
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/behaviors/quick_submit.js
View file @
0f31c5a9
...
...
@@ -74,4 +74,4 @@ require('../extensions/jquery');
return
$this
.
tooltip
(
'
hide
'
);
});
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/behaviors/requires_input.js
View file @
0f31c5a9
...
...
@@ -59,4 +59,4 @@ require('../extensions/jquery');
return
hideOrShowHelpBlock
(
$form
);
});
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/blob/blob_file_dropzone.js
View file @
0f31c5a9
...
...
@@ -63,4 +63,4 @@
return
BlobFileDropzone
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/blob/blob_gitignore_selector.js
View file @
0f31c5a9
...
...
@@ -20,4 +20,4 @@ require('./template_selector');
return
BlobGitignoreSelector
;
})(
gl
.
TemplateSelector
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/blob/blob_gitignore_selectors.js
View file @
0f31c5a9
...
...
@@ -23,4 +23,4 @@
return
BlobGitignoreSelectors
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/blob/blob_license_selector.js
View file @
0f31c5a9
...
...
@@ -25,4 +25,4 @@ require('./template_selector');
return
BlobLicenseSelector
;
})(
gl
.
TemplateSelector
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/blob_edit/blob_edit_bundle.js
View file @
0f31c5a9
...
...
@@ -12,4 +12,4 @@ require('./edit_blob');
var
blob
=
new
EditBlob
(
url
,
$
(
'
.js-edit-blob-form
'
).
data
(
'
blob-language
'
));
new
NewCommitForm
(
$
(
'
.js-edit-blob-form
'
));
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/blob_edit/edit_blob.js
View file @
0f31c5a9
...
...
@@ -85,4 +85,4 @@
return
EditBlob
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/breakpoints.js
View file @
0f31c5a9
...
...
@@ -69,4 +69,4 @@
})(
this
));
window
.
Breakpoints
=
Breakpoints
;
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/broadcast_message.js
View file @
0f31c5a9
...
...
@@ -31,4 +31,4 @@
}
});
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/build.js
View file @
0f31c5a9
...
...
@@ -275,4 +275,4 @@
return
Build
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/build_artifacts.js
View file @
0f31c5a9
...
...
@@ -23,4 +23,4 @@
return
BuildArtifacts
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/commit.js
View file @
0f31c5a9
...
...
@@ -11,4 +11,4 @@
return
Commit
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/commit/file.js
View file @
0f31c5a9
...
...
@@ -11,4 +11,4 @@
return
CommitFile
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/commit/image_file.js
View file @
0f31c5a9
...
...
@@ -173,4 +173,4 @@
return
ImageFile
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/commits.js
View file @
0f31c5a9
...
...
@@ -65,4 +65,4 @@
return
CommitsList
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/compare.js
View file @
0f31c5a9
...
...
@@ -88,4 +88,4 @@
return
Compare
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/compare_autocomplete.js.es6
View file @
0f31c5a9
...
...
@@ -66,4 +66,4 @@
return CompareAutocomplete;
})();
}).call(
this
);
}).call(
window
);
app/assets/javascripts/confirm_danger_modal.js
View file @
0f31c5a9
...
...
@@ -28,4 +28,4 @@
return
ConfirmDangerModal
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/copy_to_clipboard.js
View file @
0f31c5a9
...
...
@@ -46,4 +46,4 @@ window.Clipboard = require('vendor/clipboard');
clipboard
.
on
(
'
success
'
,
genericSuccess
);
return
clipboard
.
on
(
'
error
'
,
genericError
);
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/dispatcher.js.es6
View file @
0f31c5a9
...
...
@@ -383,4 +383,4 @@ const ShortcutsBlob = require('./shortcuts_blob');
return Dispatcher;
})();
}).call(
this
);
}).call(
window
);
app/assets/javascripts/dropzone_input.js
View file @
0f31c5a9
...
...
@@ -216,4 +216,4 @@ require('./preview_markdown');
return
DropzoneInput
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/extensions/jquery.js
View file @
0f31c5a9
...
...
@@ -13,4 +13,4 @@
return
$
(
this
).
removeAttr
(
'
disabled
'
).
removeClass
(
'
disabled
'
);
}
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/files_comment_button.js
View file @
0f31c5a9
...
...
@@ -144,4 +144,4 @@
}
});
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/flash.js
View file @
0f31c5a9
...
...
@@ -39,4 +39,4 @@
return
Flash
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/gfm_auto_complete.js.es6
View file @
0f31c5a9
...
...
@@ -380,4 +380,4 @@
(dataToInspect === loadingState || dataToInspect.name === loadingState);
}
};
}).call(
this
);
}).call(
window
);
app/assets/javascripts/gl_dropdown.js
View file @
0f31c5a9
...
...
@@ -846,4 +846,4 @@
}
});
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/graphs/stat_graph.js
View file @
0f31c5a9
...
...
@@ -15,4 +15,4 @@
return
StatGraph
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/graphs/stat_graph_contributors.js
View file @
0f31c5a9
...
...
@@ -113,4 +113,4 @@ window.d3 = require('d3');
return
ContributorsStatGraph
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/graphs/stat_graph_contributors_graph.js
View file @
0f31c5a9
...
...
@@ -273,4 +273,4 @@ window.d3 = require('d3');
return
ContributorsAuthorGraph
;
})(
ContributorsGraph
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/graphs/stat_graph_contributors_util.js
View file @
0f31c5a9
...
...
@@ -135,4 +135,4 @@
}
}
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/group_avatar.js
View file @
0f31c5a9
...
...
@@ -17,4 +17,4 @@
return
GroupAvatar
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/groups_select.js
View file @
0f31c5a9
...
...
@@ -68,4 +68,4 @@
return
GroupsSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/importer_status.js
View file @
0f31c5a9
...
...
@@ -78,4 +78,4 @@
new
window
.
ImporterStatus
(
jobsImportPath
,
importPath
);
}
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/issuable_context.js
View file @
0f31c5a9
...
...
@@ -76,4 +76,4 @@
return
IssuableContext
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/issuable_form.js
View file @
0f31c5a9
...
...
@@ -156,4 +156,4 @@
return
IssuableForm
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/issue.js
View file @
0f31c5a9
...
...
@@ -132,4 +132,4 @@ require('./task_list');
return
Issue
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/issue_status_select.js
View file @
0f31c5a9
...
...
@@ -31,4 +31,4 @@
return
IssueStatusSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/labels.js
View file @
0f31c5a9
...
...
@@ -43,4 +43,4 @@
return
Labels
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/labels_select.js
View file @
0f31c5a9
...
...
@@ -504,4 +504,4 @@
return
LabelsSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/layout_nav.js
View file @
0f31c5a9
...
...
@@ -44,4 +44,4 @@
}
});
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/cropper.js
View file @
0f31c5a9
...
...
@@ -4,4 +4,4 @@
(
function
()
{
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/raphael.js
View file @
0f31c5a9
...
...
@@ -6,4 +6,4 @@
(
function
()
{
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/utils/animate.js
View file @
0f31c5a9
...
...
@@ -46,4 +46,4 @@
return
dfd
.
promise
();
};
})(
window
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/utils/common_utils.js.es6
View file @
0f31c5a9
...
...
@@ -297,4 +297,4 @@
*/
w.gl.utils.convertPermissionToBoolean = permission => permission === 'true';
})(window);
}).call(
this
);
}).call(
window
);
app/assets/javascripts/lib/utils/datetime_utility.js.es6
View file @
0f31c5a9
...
...
@@ -123,4 +123,4 @@ window.dateFormat = require('vendor/date.format');
return Math.floor((date2 - date1) / millisecondsPerDay);
};
})(window);
}).call(
this
);
}).call(
window
);
app/assets/javascripts/lib/utils/notify.js
View file @
0f31c5a9
...
...
@@ -44,4 +44,4 @@
w
.
notify
=
notifyMe
;
return
w
.
notifyPermissions
=
notifyPermissions
;
})(
window
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/utils/text_utility.js
View file @
0f31c5a9
...
...
@@ -168,4 +168,4 @@
return
string
.
substr
(
0
,
(
maxLength
-
3
))
+
'
...
'
;
};
})(
window
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/utils/type_utility.js
View file @
0f31c5a9
...
...
@@ -12,4 +12,4 @@
return
(
obj
!=
null
)
&&
(
obj
.
constructor
===
Object
);
};
})(
window
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/lib/utils/url_utility.js.es6
View file @
0f31c5a9
...
...
@@ -83,4 +83,4 @@
document.location.href = url;
};
})(window);
}).call(
this
);
}).call(
window
);
app/assets/javascripts/line_highlighter.js
View file @
0f31c5a9
...
...
@@ -179,4 +179,4 @@ require('vendor/jquery.scrollTo');
return
LineHighlighter
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/logo.js
View file @
0f31c5a9
...
...
@@ -4,4 +4,4 @@
window
.
addEventListener
(
'
beforeunload
'
,
function
()
{
$
(
'
.tanuki-logo
'
).
addClass
(
'
animate
'
);
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/member_expiration_date.js.es6
View file @
0f31c5a9
...
...
@@ -49,4 +49,4 @@
inputs.each(toggleClearInput);
};
}).call(
this
);
}).call(
window
);
app/assets/javascripts/merge_request.js
View file @
0f31c5a9
...
...
@@ -108,4 +108,4 @@ require('./merge_request_tabs');
return
MergeRequest
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/merged_buttons.js
View file @
0f31c5a9
...
...
@@ -42,4 +42,4 @@
return
MergedButtons
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/milestone.js
View file @
0f31c5a9
...
...
@@ -172,4 +172,4 @@
return
Milestone
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/milestone_select.js
View file @
0f31c5a9
...
...
@@ -199,4 +199,4 @@
return
MilestoneSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/namespace_select.js
View file @
0f31c5a9
...
...
@@ -83,4 +83,4 @@
return
NamespaceSelects
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/network/branch_graph.js
View file @
0f31c5a9
...
...
@@ -421,4 +421,4 @@
y
:
h
});
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/network/network.js
View file @
0f31c5a9
...
...
@@ -17,4 +17,4 @@
return
Network
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/network/network_bundle.js
View file @
0f31c5a9
...
...
@@ -19,4 +19,4 @@ requireAll(require.context('.', false, /^\.\/(?!network_bundle).*\.(js|es6)$/));
});
return
new
ShortcutsNetwork
(
network_graph
.
branch_graph
);
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/new_branch_form.js
View file @
0f31c5a9
...
...
@@ -100,4 +100,4 @@
return
NewBranchForm
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/new_commit_form.js
View file @
0f31c5a9
...
...
@@ -30,4 +30,4 @@
return
NewCommitForm
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/notes.js
View file @
0f31c5a9
...
...
@@ -937,4 +937,4 @@ require('./task_list');
return
Notes
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/notifications_dropdown.js
View file @
0f31c5a9
...
...
@@ -28,4 +28,4 @@
return
NotificationsDropdown
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/notifications_form.js
View file @
0f31c5a9
...
...
@@ -54,4 +54,4 @@
return
NotificationsForm
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project.js
View file @
0f31c5a9
...
...
@@ -126,4 +126,4 @@
return
Project
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_avatar.js
View file @
0f31c5a9
...
...
@@ -17,4 +17,4 @@
return
ProjectAvatar
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_find_file.js
View file @
0f31c5a9
...
...
@@ -168,4 +168,4 @@
return
ProjectFindFile
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_fork.js
View file @
0f31c5a9
...
...
@@ -10,4 +10,4 @@
return
ProjectFork
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_import.js
View file @
0f31c5a9
...
...
@@ -10,4 +10,4 @@
return
ProjectImport
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_new.js
View file @
0f31c5a9
...
...
@@ -101,4 +101,4 @@
return
ProjectNew
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_select.js
View file @
0f31c5a9
...
...
@@ -101,4 +101,4 @@
return
ProjectSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/project_show.js
View file @
0f31c5a9
...
...
@@ -6,6 +6,6 @@
return
ProjectShow
;
})();
}).
call
(
this
);
}).
call
(
window
);
// I kept class for future
app/assets/javascripts/projects_list.js
View file @
0f31c5a9
...
...
@@ -47,4 +47,4 @@
});
}
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/render_gfm.js
View file @
0f31c5a9
...
...
@@ -12,4 +12,4 @@
$
(
document
).
on
(
'
ready load
'
,
function
()
{
return
$
(
'
body
'
).
renderGFM
();
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/render_math.js
View file @
0f31c5a9
...
...
@@ -51,4 +51,4 @@
});
}
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/right_sidebar.js
View file @
0f31c5a9
...
...
@@ -217,4 +217,4 @@
return
Sidebar
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/search.js
View file @
0f31c5a9
...
...
@@ -97,4 +97,4 @@
return
Search
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/shortcuts.js
View file @
0f31c5a9
...
...
@@ -97,4 +97,4 @@
}
};
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/shortcuts_dashboard_navigation.js
View file @
0f31c5a9
...
...
@@ -37,4 +37,4 @@ require('./shortcuts');
return
ShortcutsDashboardNavigation
;
})(
Shortcuts
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/shortcuts_find_file.js
View file @
0f31c5a9
...
...
@@ -35,4 +35,4 @@ require('./shortcuts_navigation');
return
ShortcutsFindFile
;
})(
ShortcutsNavigation
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/shortcuts_issuable.js
View file @
0f31c5a9
...
...
@@ -89,4 +89,4 @@ require('./shortcuts_navigation');
return
ShortcutsIssuable
;
})(
ShortcutsNavigation
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/shortcuts_navigation.js
View file @
0f31c5a9
...
...
@@ -65,4 +65,4 @@ require('./shortcuts');
return
ShortcutsNavigation
;
})(
Shortcuts
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/shortcuts_network.js
View file @
0f31c5a9
...
...
@@ -25,4 +25,4 @@ require('./shortcuts_navigation');
return
ShortcutsNetwork
;
})(
ShortcutsNavigation
);
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/single_file_diff.js
View file @
0f31c5a9
...
...
@@ -95,4 +95,4 @@
}
});
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/snippet/snippet_bundle.js
View file @
0f31c5a9
...
...
@@ -13,4 +13,4 @@ requireAll(require.context('.', false, /^\.\/(?!snippet_bundle).*\.(js|es6)$/));
$
(
"
.snippet-file-content
"
).
val
(
editor
.
getValue
());
});
});
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/star.js
View file @
0f31c5a9
...
...
@@ -27,4 +27,4 @@
return
Star
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/subscription_select.js
View file @
0f31c5a9
...
...
@@ -31,4 +31,4 @@
return
SubscriptionSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/syntax_highlight.js
View file @
0f31c5a9
...
...
@@ -24,4 +24,4 @@
}
}
};
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/tree.js
View file @
0f31c5a9
...
...
@@ -65,4 +65,4 @@
return
TreeView
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/u2f/error.js
View file @
0f31c5a9
...
...
@@ -24,4 +24,4 @@
return
U2FError
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/u2f/register.js
View file @
0f31c5a9
...
...
@@ -95,4 +95,4 @@
return
U2FRegister
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/u2f/util.js
View file @
0f31c5a9
...
...
@@ -9,4 +9,4 @@
return
U2FUtil
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/users/calendar.js
View file @
0f31c5a9
...
...
@@ -221,4 +221,4 @@
return
Calendar
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/users_select.js
View file @
0f31c5a9
...
...
@@ -432,4 +432,4 @@
return
UsersSelect
;
})();
}).
call
(
this
);
}).
call
(
window
);
app/assets/javascripts/zen_mode.js
View file @
0f31c5a9
...
...
@@ -94,4 +94,4 @@ require('mousetrap/plugins/pause/mousetrap-pause');
return
ZenMode
;
})();
}).
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