Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d06eec37
Unverified
Commit
d06eec37
authored
5 years ago
by
XhmikosR
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Minor lint tweaks. (#29328)
parent
e99625c0
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
js/tests/helpers/fixture.js
+1
-2
js/tests/helpers/fixture.js
js/tests/karma.conf.js
+4
-5
js/tests/karma.conf.js
package.json
+1
-1
package.json
with
6 additions
and
8 deletions
+6
-8
js/tests/helpers/fixture.js
+
1
-
2
View file @
d06eec37
...
...
@@ -23,8 +23,7 @@ export const clearFixture = () => {
fixtureEl
.
innerHTML
=
''
}
export
const
createEvent
=
(
eventName
,
params
)
=>
{
params
=
params
||
{}
export
const
createEvent
=
(
eventName
,
params
=
{})
=>
{
const
e
=
document
.
createEvent
(
'
Event
'
)
e
.
initEvent
(
eventName
,
Boolean
(
params
.
bubbles
),
Boolean
(
params
.
cancelable
))
...
...
This diff is collapsed.
Click to expand it.
js/tests/karma.conf.js
+
4
-
5
View file @
d06eec37
/* eslint-env node */
/* eslint no-process-env: 0 */
const
path
=
require
(
'
path
'
)
const
ip
=
require
(
'
ip
'
)
const
babel
=
require
(
'
rollup-plugin-babel
'
)
const
istanbul
=
require
(
'
rollup-plugin-istanbul
'
)
const
resolve
=
require
(
'
rollup-plugin-node-resolve
'
)
const
{
browsers
,
browsersKeys
}
=
require
(
'
./browsers
'
)
const
babel
=
require
(
'
rollup-plugin-babel
'
)
const
istanbul
=
require
(
'
rollup-plugin-istanbul
'
)
const
resolve
=
require
(
'
rollup-plugin-node-resolve
'
)
const
{
env
}
=
process
const
browserStack
=
env
.
BROWSER
===
'
true
'
...
...
This diff is collapsed.
Click to expand it.
package.json
+
1
-
1
View file @
d06eec37
...
...
@@ -46,7 +46,7 @@
"js-compile-bundle"
:
"rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap"
,
"js-compile-plugins"
:
"node build/build-plugins.js"
,
"js-lint"
:
"npm-run-all --continue-on-error --parallel js-lint-*"
,
"js-lint-main"
:
"eslint --cache --cache-location .cache/.eslintcache js/
src js/tests
build/"
,
"js-lint-main"
:
"eslint --cache --cache-location .cache/.eslintcache js/ build/"
,
"js-lint-docs"
:
"eslint --cache --cache-location .cache/.eslintcache site/"
,
"js-minify"
:
"npm-run-all --parallel js-minify-main js-minify-docs"
,
"js-minify-main"
:
"npm-run-all js-minify-standalone* js-minify-bundle"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets