Fixed requirejs compilation
This commit is contained in:
parent
1e3d0a2775
commit
2bc3ef0e2c
@ -76,7 +76,7 @@ gulp.task('requirejs', [
|
||||
name: 'main',
|
||||
out: 'main.js',
|
||||
mainConfigFile: 'public/res/main.js',
|
||||
optimize: 'uglify2',
|
||||
// optimize: 'uglify2',
|
||||
inlineText: true,
|
||||
paths: {
|
||||
mathjax: 'empty:'
|
||||
|
@ -24,7 +24,7 @@
|
||||
"yaml.js": "https://github.com/jeremyfa/yaml.js.git#~0.1.4",
|
||||
"prism": "a12e8692b5f660a0123a06f74935f75386a93042",
|
||||
"MutationObservers": "https://github.com/Polymer/MutationObservers.git#~0.2.1",
|
||||
"rangy": "~1.2.3",
|
||||
"rangy": "1.2.3",
|
||||
"google-diff-match-patch-js": "~1.0.0",
|
||||
"jsondiffpatch": "https://github.com/benweet/jsondiffpatch.git#fb9dddf7cd076d8ec89d376c0e9de9223e9888f9",
|
||||
"hammerjs": "~1.0.10",
|
||||
|
38
package.json
38
package.json
@ -10,30 +10,30 @@
|
||||
"doc": "doc"
|
||||
},
|
||||
"dependencies": {
|
||||
"bower": "^1.8.2",
|
||||
"compression": "^1.0.11",
|
||||
"bower": "~1.8.2",
|
||||
"compression": "~1.0.11",
|
||||
"ejs": "~0.8.4",
|
||||
"express": "^4.8.5",
|
||||
"express": "~4.8.5",
|
||||
"request": "~2.40.0",
|
||||
"serve-static": "^1.6.5",
|
||||
"ssh2": "^0.3.5"
|
||||
"serve-static": "~1.6.5",
|
||||
"ssh2": "~0.3.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-requirejs": "^1.0.0",
|
||||
"gulp-jshint": "^1.8.4",
|
||||
"gulp-uglify": "^1.1.0",
|
||||
"gulp-less": "^1.3.5",
|
||||
"bower-requirejs": "^1.1.0",
|
||||
"gulp": "~3.9.1",
|
||||
"gulp-requirejs": "~1.0.0",
|
||||
"gulp-jshint": "~1.8.4",
|
||||
"gulp-uglify": "~1.1.0",
|
||||
"gulp-less": "~1.3.5",
|
||||
"bower-requirejs": "~1.1.0",
|
||||
"gulp-inject": "git://github.com/benweet/gulp-inject.git#8bd702d143a578e3b44290d82612ab808ee17281",
|
||||
"run-sequence": "^0.3.6",
|
||||
"gulp-clean": "^0.3.1",
|
||||
"gulp-replace": "^0.4.0",
|
||||
"gulp-bump": "^0.1.11",
|
||||
"gulp-util": "^3.0.1",
|
||||
"knox": "^0.9.1",
|
||||
"mime": "^1.2.11",
|
||||
"event-stream": "^3.1.7"
|
||||
"run-sequence": "~0.3.6",
|
||||
"gulp-clean": "~0.3.1",
|
||||
"gulp-replace": "~0.4.0",
|
||||
"gulp-bump": "~0.1.11",
|
||||
"gulp-util": "~3.0.1",
|
||||
"knox": "~0.9.1",
|
||||
"mime": "~1.2.11",
|
||||
"event-stream": "~3.1.7"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "bower --allow-root install",
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
#Date Sun Jan 07 2018 16:26:10 GMT+0000 (WET)
|
||||
#Date Sun Jan 07 2018 19:28:36 GMT+0000 (WET)
|
||||
|
||||
CACHE:
|
||||
.
|
||||
@ -129,7 +129,6 @@ res/bower-libs/MathJax/jax/output/SVG/autoload/mtable.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/autoload/multiline.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/fontdata-extra.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/fontdata.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Arrows.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/BoxDrawing.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/CombDiacritMarks.js?rev=2.6.1
|
||||
@ -150,6 +149,7 @@ res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/PUA.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SpacingModLetters.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SuppMathOperators.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Regular/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/BasicLatin.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Other.js?rev=2.6.1
|
||||
@ -177,6 +177,15 @@ res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscTechnical.js?rev=2
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SpacingModLetters.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SuppMathOperators.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SupplementalArrowsA.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/BasicLatin.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/CombDiacritMarks.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GeometricShapes.js?rev=2.6.1
|
||||
@ -189,15 +198,6 @@ res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MathOperators.js?re
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MiscSymbols.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SuppMathOperators.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Math/Italic/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Math/BoldItalic/Main.js?rev=2.6.1
|
||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/BasicLatin.js?rev=2.6.1
|
||||
|
25140
public/res-min/main.js
25140
public/res-min/main.js
File diff suppressed because one or more lines are too long
@ -67,7 +67,7 @@ define([
|
||||
'<p><b>StackEdit 5</b> is now ready for production!</p>',
|
||||
'<p>If you want to migrate, <a href="#" class="action-export-docs-tour">click here</a> to export a backup of your files.</p>',
|
||||
'<p>To import the backup in StackEdit 5, go to Menu > More > Import workspace backup.</p>',
|
||||
'<p><a href="app" target="_blank">Click here</a> to open StackEdit 5 now!</p>',
|
||||
'<p><a href="app" target="_blank">Open StackEdit 5 now!</a></p>',
|
||||
'You can always click <b>OK</b> to continue with StackEdit 4.'
|
||||
].join(""),
|
||||
placement: 'bottom',
|
||||
|
Loading…
Reference in New Issue
Block a user