Resolve "Convert fuzzaldrin-plus.js library to be a Yarn managed library"
This commit is contained in:
parent
0134079430
commit
e148f1f9f2
7 changed files with 8 additions and 1164 deletions
|
@ -1,6 +1,7 @@
|
||||||
/* eslint-disable func-names, no-underscore-dangle, space-before-function-paren, no-var, one-var, one-var-declaration-per-line, prefer-rest-params, max-len, vars-on-top, wrap-iife, no-unused-vars, quotes, no-shadow, no-cond-assign, prefer-arrow-callback, no-return-assign, no-else-return, camelcase, comma-dangle, no-lonely-if, guard-for-in, no-restricted-syntax, consistent-return, prefer-template, no-param-reassign, no-loop-func, no-mixed-operators */
|
/* eslint-disable func-names, no-underscore-dangle, space-before-function-paren, no-var, one-var, one-var-declaration-per-line, prefer-rest-params, max-len, vars-on-top, wrap-iife, no-unused-vars, quotes, no-shadow, no-cond-assign, prefer-arrow-callback, no-return-assign, no-else-return, camelcase, comma-dangle, no-lonely-if, guard-for-in, no-restricted-syntax, consistent-return, prefer-template, no-param-reassign, no-loop-func, no-mixed-operators */
|
||||||
/* global fuzzaldrinPlus */
|
/* global fuzzaldrinPlus */
|
||||||
import _ from 'underscore';
|
import _ from 'underscore';
|
||||||
|
import fuzzaldrinPlus from 'fuzzaldrin-plus';
|
||||||
import { isObject } from './lib/utils/type_utility';
|
import { isObject } from './lib/utils/type_utility';
|
||||||
|
|
||||||
var GitLabDropdown, GitLabDropdownFilter, GitLabDropdownRemote, GitLabDropdownInput;
|
var GitLabDropdown, GitLabDropdownFilter, GitLabDropdownRemote, GitLabDropdownInput;
|
||||||
|
|
|
@ -12,7 +12,6 @@ import svg4everybody from 'svg4everybody';
|
||||||
// libraries with import side-effects
|
// libraries with import side-effects
|
||||||
import 'mousetrap';
|
import 'mousetrap';
|
||||||
import 'mousetrap/plugins/pause/mousetrap-pause';
|
import 'mousetrap/plugins/pause/mousetrap-pause';
|
||||||
import 'vendor/fuzzaldrin-plus';
|
|
||||||
|
|
||||||
// expose common libraries as globals (TODO: remove these)
|
// expose common libraries as globals (TODO: remove these)
|
||||||
window.jQuery = jQuery;
|
window.jQuery = jQuery;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, quotes, consistent-return, one-var, one-var-declaration-per-line, no-cond-assign, max-len, object-shorthand, no-param-reassign, comma-dangle, prefer-template, no-unused-vars, no-return-assign */
|
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, quotes, consistent-return, one-var, one-var-declaration-per-line, no-cond-assign, max-len, object-shorthand, no-param-reassign, comma-dangle, prefer-template, no-unused-vars, no-return-assign */
|
||||||
/* global fuzzaldrinPlus */
|
|
||||||
|
import fuzzaldrinPlus from 'fuzzaldrin-plus';
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
this.ProjectFindFile = (function() {
|
this.ProjectFindFile = (function() {
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
"eslint-plugin-html": "^2.0.1",
|
"eslint-plugin-html": "^2.0.1",
|
||||||
"exports-loader": "^0.6.4",
|
"exports-loader": "^0.6.4",
|
||||||
"file-loader": "^0.11.1",
|
"file-loader": "^0.11.1",
|
||||||
|
"fuzzaldrin-plus": "^0.5.0",
|
||||||
"imports-loader": "^0.7.1",
|
"imports-loader": "^0.7.1",
|
||||||
"jed": "^1.1.1",
|
"jed": "^1.1.1",
|
||||||
"jquery": "^2.2.1",
|
"jquery": "^2.2.1",
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
import '~/gl_dropdown';
|
import '~/gl_dropdown';
|
||||||
import '~/search_autocomplete';
|
import '~/search_autocomplete';
|
||||||
import '~/lib/utils/common_utils';
|
import '~/lib/utils/common_utils';
|
||||||
import 'vendor/fuzzaldrin-plus';
|
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var assertLinks, dashboardIssuesPath, dashboardMRsPath, groupIssuesPath, groupMRsPath, groupName, mockDashboardOptions, mockGroupOptions, mockProjectOptions, projectIssuesPath, projectMRsPath, projectName, userId, widget;
|
var assertLinks, dashboardIssuesPath, dashboardMRsPath, groupIssuesPath, groupMRsPath, groupName, mockDashboardOptions, mockGroupOptions, mockProjectOptions, projectIssuesPath, projectMRsPath, projectName, userId, widget;
|
||||||
|
|
1161
vendor/assets/javascripts/fuzzaldrin-plus.js
vendored
1161
vendor/assets/javascripts/fuzzaldrin-plus.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -2675,6 +2675,10 @@ function-bind@^1.1.1, function-bind@~1.1.0:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
||||||
|
|
||||||
|
fuzzaldrin-plus@^0.5.0:
|
||||||
|
version "0.5.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/fuzzaldrin-plus/-/fuzzaldrin-plus-0.5.0.tgz#ef5f26f0c2fc7e9e9a16ea149a802d6cb4804b1e"
|
||||||
|
|
||||||
gauge@~2.7.3:
|
gauge@~2.7.3:
|
||||||
version "2.7.4"
|
version "2.7.4"
|
||||||
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
|
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
|
||||||
|
|
Loading…
Reference in a new issue