Просмотр исходного кода

moment and fineuploader are loaded seperately in editor, not packaged up

Henry Oswald 8 лет назад
Родитель
Сommit
c020e4e6bd
2 измененных файлов с 1 добавлено и 4 удалено
  1. 1 2
      services/web/app/views/layout.pug
  2. 0 2
      services/web/public/coffee/libs.coffee

+ 1 - 2
services/web/app/views/layout.pug

@@ -132,8 +132,7 @@ html(itemscope, itemtype='http://schema.org/Product')
 				// minimal requirejs configuration (can be extended/overridden)
 				window.requirejs = {
 					"paths" : {
-						"moment": "libs/#{lib('moment')}",
-						"fineuploader": "libs/#{lib('fineuploader')}"
+						"moment": "libs/#{lib('moment')}"
 					},
 					"urlArgs": "fingerprint=#{fingerprint(jsPath + 'main.js')}-#{fingerprint(jsPath + 'libs.js')}",
 					"config":{

+ 0 - 2
services/web/public/coffee/libs.coffee

@@ -1,12 +1,10 @@
 define [
-	"moment"
 	"libs/angular-autocomplete/angular-autocomplete"
 	"libs/ui-bootstrap"
 	"libs/ng-context-menu-0.1.4"
 	"libs/underscore-1.3.3"
 	"libs/algolia-2.5.2"
 	"libs/jquery.storage"
-	"fineuploader"
 	"libs/angular-sanitize-1.2.17"
 	"libs/angular-cookie"
 	"libs/passfield"