mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Fix the remaining cases of inconsistent spacing and trailing commas in objects, and enable the comma-dangle
and object-curly-spacing
ESLint rules
http://eslint.org/docs/rules/comma-dangle http://eslint.org/docs/rules/object-curly-spacing *Please note:* This patch was created automatically, using the ESLint `--fix` command line option. In a couple of places this caused lines to become too long, and I've fixed those manually; please refer to the interdiff below for the only hand-edits in this patch. ```diff diff --git a/gulpfile.js b/gulpfile.js index d18b9c58..7d47fd8d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1247,7 +1247,8 @@ gulp.task('gh-pages-git', ['gh-pages-prepare', 'wintersmith'], function () { var reason = process.env['PDFJS_UPDATE_REASON']; safeSpawnSync('git', ['init'], { cwd: GH_PAGES_DIR, }); - safeSpawnSync('git', ['remote', 'add', 'origin', REPO], { cwd: GH_PAGES_DIR, }); + safeSpawnSync('git', ['remote', 'add', 'origin', REPO], + { cwd: GH_PAGES_DIR, }); safeSpawnSync('git', ['add', '-A'], { cwd: GH_PAGES_DIR, }); safeSpawnSync('git', [ 'commit', '-am', 'gh-pages site created via gulpfile.js script', ```
This commit is contained in:
parent
a3fae906a6
commit
4a906955c4
7 changed files with 107 additions and 98 deletions
2
external/systemjs/plugin-babel-cached.js
vendored
2
external/systemjs/plugin-babel-cached.js
vendored
|
@ -26,7 +26,7 @@ function getDb() {
|
|||
var request = indexedDB.open(dbName, dbVersion);
|
||||
request.onupgradeneeded = function() {
|
||||
var db = request.result;
|
||||
db.createObjectStore(dbCacheTable, {keyPath: 'address'});
|
||||
db.createObjectStore(dbCacheTable, { keyPath: 'address', });
|
||||
};
|
||||
request.onsuccess = function() {
|
||||
var db = request.result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue