Merge "build: Bump devDependencies to latest and make pass"

This commit is contained in:
jenkins-bot 2016-06-10 09:36:10 +00:00 committed by Gerrit Code Review
commit 4837373545
6 changed files with 22 additions and 18 deletions

View file

@ -17,5 +17,9 @@
"requireNewlineAfterDescription": true,
"requireParamTypes": true,
"requireReturnTypes": true
}
},
"excludeFiles": [
"modules/ve-mw/init/classListSkipFunction.js"
]
}

View file

@ -6,9 +6,9 @@
* Adapted from http://purl.eligrey.com/github/classList.js/blob/master/classList.js
*/
return !!(
'classList' in document.createElement( '_' ) &&
!(
document.createElementNS &&
!( 'classList' in document.createElementNS( 'http://www.w3.org/2000/svg', 'g' ) )
)
);
'classList' in document.createElement( '_' ) &&
!(
document.createElementNS &&
!( 'classList' in document.createElementNS( 'http://www.w3.org/2000/svg', 'g' ) )
)
);

View file

@ -1724,9 +1724,9 @@ ve.init.mw.ArticleTarget.prototype.maybeShowWelcomeDialog = function () {
if ( prefSaysShow ) {
new mw.Api().saveOption( 'visualeditor-hidebetawelcome', '1' );
// No need to set a cookie every time for logged-in users that have already
// set the hidebetawelcome=1 preference, but only if this isn't a one-off
// view of the page via the hiding GET parameter.
// No need to set a cookie every time for logged-in users that have already
// set the hidebetawelcome=1 preference, but only if this isn't a one-off
// view of the page via the hiding GET parameter.
} else if ( !usePrefs && !urlSaysHide ) {
try {
localStorage.setItem( 've-beta-welcome-dialog', 1 );

View file

@ -117,7 +117,7 @@ ve.ui.MWAceEditorWidget.prototype.setupEditor = function () {
*
* @param {string} mode Symbolic name of autocomplete mode
*/
ve.ui.MWAceEditorWidget.prototype.setAutocomplete = function ( mode ) {
ve.ui.MWAceEditorWidget.prototype.setAutocomplete = function ( mode ) {
var widget = this;
this.autocomplete = mode;
this.loadingPromise.done( function () {
@ -127,7 +127,7 @@ ve.ui.MWAceEditorWidget.prototype.setupEditor = function () {
} );
} );
return this;
};
};
/**
* @inheritdoc

View file

@ -84,7 +84,7 @@ OO.inheritClass( ve.ui.MWTocWidget, OO.ui.Widget );
*
* @param {ve.dm.MetaItem} metaItem
*/
ve.ui.MWTocWidget.prototype.onMetaListInsert = function ( metaItem ) {
ve.ui.MWTocWidget.prototype.onMetaListInsert = function ( metaItem ) {
// Responsible for adding UI components
if ( metaItem instanceof ve.dm.MWTOCForceMetaItem ) {
// show

View file

@ -9,16 +9,16 @@
"postdoc": "grunt copy:jsduck"
},
"devDependencies": {
"babel-polyfill": "6.8.0",
"babel-polyfill": "6.9.1",
"grunt": "1.0.1",
"grunt-banana-checker": "0.5.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-jshint": "1.0.0",
"grunt-contrib-watch": "1.0.0",
"grunt-jscs": "2.8.0",
"grunt-jsonlint": "1.0.7",
"grunt-stylelint": "0.3.0",
"grunt-jscs": "3.0.0",
"grunt-jsonlint": "1.0.8",
"grunt-stylelint": "0.4.0",
"grunt-tyops": "0.1.0",
"stylelint-config-wikimedia": "0.2.0"
"stylelint-config-wikimedia": "0.2.2"
}
}