-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added lazy-loading capability to the application (for widgets/plugins) * Moved all navigation to navigator.js * Simplified router.js * Removed extra check for a bibcode when displaying an abstract * Made all page managers, navigators expect/work with async events * Optimized bundle for building smaller app
- Loading branch information
1 parent
90fe2ae
commit 079362b
Showing
49 changed files
with
2,368 additions
and
16,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,5 @@ | ||
{ | ||
"plugins": [ | ||
"transform-react-jsx", | ||
["transform-object-rest-spread", { "useBuiltIns": true }], | ||
"transform-object-assign" | ||
], | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"last 2 versions", | ||
"ios_saf >= 8", | ||
"not IE <= 10", | ||
"chrome >= 49", | ||
"firefox >= 49", | ||
"> 1%" | ||
] | ||
}, | ||
"debug": false, | ||
"loose": true, | ||
"modules": false, | ||
"useBuiltIns": true | ||
} | ||
], | ||
"react" | ||
"@babel/react" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ src/styles/css | |
.vagrant | ||
|
||
src/discovery.vars.js | ||
grunt/requirejs.js | ||
.* | ||
!.babelrc | ||
!.travis.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ | |
*/ | ||
module.exports = { | ||
release: { | ||
src: ['dist/'] | ||
src: [ | ||
'dist/', | ||
] | ||
}, | ||
deploy: { | ||
src: [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict'; | ||
/** | ||
* Options for the `cssmin` grunt task | ||
* | ||
* @module grunt/cssmin | ||
*/ | ||
module.exports = { | ||
'release': { | ||
files: { | ||
'dist/styles/css/styles.css': 'dist/styles/css/styles.css' | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
'use strict'; | ||
/** | ||
* Options for the `htmlmin` grunt task | ||
* | ||
* @module grunt/htmlmin | ||
*/ | ||
module.exports = { | ||
options: { | ||
removeComments: true, | ||
collapseWhitespace: true | ||
}, | ||
'release': { | ||
files: [{ | ||
expand: true, | ||
cwd: 'dist', | ||
src: ['*.html'], | ||
dest: 'dist' | ||
}] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
'use strict'; | ||
/** | ||
* Options for the `imagemin` grunt task | ||
* | ||
* @module grunt/imagemin | ||
*/ | ||
module.exports = { | ||
options: { | ||
optimizationLevel: 3 | ||
}, | ||
'release': { | ||
files: [{ | ||
expand: true, | ||
cwd: 'dist/styles/', | ||
src: [ | ||
'css/images/*.{svg,png,jpg,gif}', | ||
'img/*.{svg,png,jpg,gif}' | ||
], | ||
dest: 'dist/styles/' | ||
}] | ||
} | ||
}; |
Oops, something went wrong.