Commit 4e270e6c43744bbb0b458e74d102eeae3391463f
1 parent
5727b1d8
Exists in
master
and in
26 other branches
Fix gulp conf
Showing
3 changed files
with
10 additions
and
10 deletions
Show diff stats
bower.json
@@ -35,13 +35,13 @@ | @@ -35,13 +35,13 @@ | ||
35 | "angular-i18n": "^1.5.0", | 35 | "angular-i18n": "^1.5.0", |
36 | "angular-load": "^0.4.1", | 36 | "angular-load": "^0.4.1", |
37 | "angular-translate-interpolation-messageformat": "^2.10.0", | 37 | "angular-translate-interpolation-messageformat": "^2.10.0", |
38 | - "angular-bind-html-compile": "^1.2.1", | ||
39 | - "angular-click-outside": "^2.7.1", | ||
40 | - "ng-ckeditor": "^0.2.1", | ||
41 | - "ckeditor": "^4.5.8" | 38 | + "angular-bind-html-compile": "^1.2.1", |
39 | + "angular-click-outside": "^2.7.1" | ||
42 | }, | 40 | }, |
43 | "devDependencies": { | 41 | "devDependencies": { |
44 | - "angular-mocks": "~1.5.0" | 42 | + "angular-mocks": "~1.5.0", |
43 | + "ng-ckeditor": "^0.2.1", | ||
44 | + "ckeditor": "^4.5.8" | ||
45 | }, | 45 | }, |
46 | "overrides": { | 46 | "overrides": { |
47 | "bootstrap-sass": { | 47 | "bootstrap-sass": { |
gulp/build.js
@@ -80,8 +80,8 @@ gulp.task('html', ['inject', 'partials'], function () { | @@ -80,8 +80,8 @@ gulp.task('html', ['inject', 'partials'], function () { | ||
80 | .pipe($.useref()) | 80 | .pipe($.useref()) |
81 | .pipe($.revReplace({prefix: noosferoThemePrefix})) | 81 | .pipe($.revReplace({prefix: noosferoThemePrefix})) |
82 | .pipe(htmlFilter) | 82 | .pipe(htmlFilter) |
83 | - .pipe($.replace('/ng-ckeditor/libs/ckeditor/', noosferoThemePrefix + 'ng-ckeditor/libs/ckeditor/')) | ||
84 | - .pipe($.replace('/ng-ckeditor/ng-ckeditor.min.js', noosferoThemePrefix + 'ng-ckeditor/ng-ckeditor.min.js')) | 83 | + .pipe($.replace('/bower_components/ng-ckeditor/libs/ckeditor/', noosferoThemePrefix + 'ng-ckeditor/libs/ckeditor/')) |
84 | + .pipe($.replace('/bower_components/ng-ckeditor/ng-ckeditor.min.js', noosferoThemePrefix + 'ng-ckeditor/ng-ckeditor.min.js')) | ||
85 | .pipe($.minifyHtml({ | 85 | .pipe($.minifyHtml({ |
86 | empty: true, | 86 | empty: true, |
87 | spare: true, | 87 | spare: true, |
src/index.html
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | <div ui-view></div> | 28 | <div ui-view></div> |
29 | 29 | ||
30 | <script> | 30 | <script> |
31 | - CKEDITOR_BASEPATH='/ng-ckeditor/libs/ckeditor/'; | 31 | + CKEDITOR_BASEPATH='/bower_components/ng-ckeditor/libs/ckeditor/'; |
32 | </script> | 32 | </script> |
33 | 33 | ||
34 | <!-- build:js(src) scripts/vendor.js --> | 34 | <!-- build:js(src) scripts/vendor.js --> |
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | <!-- endinject --> | 46 | <!-- endinject --> |
47 | <!-- endbuild --> | 47 | <!-- endbuild --> |
48 | 48 | ||
49 | - <script src="/ng-ckeditor/libs/ckeditor/ckeditor.js"></script> | ||
50 | - <script src="/ng-ckeditor/ng-ckeditor.min.js"></script> | 49 | + <script src="/bower_components/ng-ckeditor/libs/ckeditor/ckeditor.js"></script> |
50 | + <script src="/bower_components/ng-ckeditor/ng-ckeditor.min.js"></script> | ||
51 | </body> | 51 | </body> |
52 | </html> | 52 | </html> |