소스 검색

Remove config settings which are already in main.js file.

JC Brand 10 년 전
부모
커밋
57d903fd97
6개의 변경된 파일2개의 추가작업 그리고 88개의 파일을 삭제
  1. 2 8
      src/build-no-jquery.js
  2. 0 16
      src/build-no-locales-no-otr.js
  3. 0 16
      src/build-no-otr.js
  4. 0 16
      src/build-website-no-otr.js
  5. 0 16
      src/build-website.js
  6. 0 16
      src/build.js

+ 2 - 8
src/build-no-jquery.js

@@ -3,16 +3,10 @@
     name: "components/almond/almond.js",
     out: "../builds/converse.nojquery.min.js",
     include: ['main'],
-    tpl: {
-        // Use Mustache style syntax for variable interpolation
-        templateSettings: {
-            evaluate : /\{\[([\s\S]+?)\]\}/g,
-            interpolate : /\{\{([\s\S]+?)\}\}/g
-        }
-    },
     mainConfigFile: '../main.js',
     paths: {
         "converse-dependencies":    "src/deps-full",
-        "jquery":                   "src/jquery-external"
+        "jquery":                   "src/jquery-external",
+        "jquery-private":           "src/jquery-external-private"
     }
 })

+ 0 - 16
src/build-no-locales-no-otr.js

@@ -3,22 +3,6 @@
     name: "components/almond/almond.js",
     out: "../builds/converse-no-locales-no-otr.min.js",
     include: ['main'],
-    tpl: {
-        // Use Mustache style syntax for variable interpolation
-        templateSettings: {
-            evaluate : /\{\[([\s\S]+?)\]\}/g,
-            interpolate : /\{\{([\s\S]+?)\}\}/g
-        }
-    },
-    map: {
-        // '*' means all modules will get 'jquery-private'
-        // for their 'jquery' dependency.
-        '*': { 'jquery': 'jquery-private' },
-        // 'jquery-private' wants the real jQuery module
-        // though. If this line was not here, there would
-        // be an unresolvable cyclic dependency.
-        'jquery-private': { 'jquery': 'jquery' }
-    },
     mainConfigFile: '../main.js',
     paths: {
         "converse-dependencies":    "src/deps-no-otr",

+ 0 - 16
src/build-no-otr.js

@@ -3,22 +3,6 @@
     name: "components/almond/almond.js",
     out: "../builds/converse-no-otr.min.js",
     include: ['main'],
-    tpl: {
-        // Use Mustache style syntax for variable interpolation
-        templateSettings: {
-            evaluate : /\{\[([\s\S]+?)\]\}/g,
-            interpolate : /\{\{([\s\S]+?)\}\}/g
-        }
-    },
-    map: {
-        // '*' means all modules will get 'jquery-private'
-        // for their 'jquery' dependency.
-        '*': { 'jquery': 'jquery-private' },
-        // 'jquery-private' wants the real jQuery module
-        // though. If this line was not here, there would
-        // be an unresolvable cyclic dependency.
-        'jquery-private': { 'jquery': 'jquery' }
-    },
     mainConfigFile: '../main.js',
     paths: {
         "converse-dependencies":    "src/deps-no-otr"

+ 0 - 16
src/build-website-no-otr.js

@@ -3,22 +3,6 @@
     name: "components/almond/almond.js",
     out: "../builds/converse.website-no-otr.min.js",
     include: ['main'],
-    tpl: {
-        // Use Mustache style syntax for variable interpolation
-        templateSettings: {
-            evaluate : /\{\[([\s\S]+?)\]\}/g,
-            interpolate : /\{\{([\s\S]+?)\}\}/g
-        }
-    },
-    map: {
-        // '*' means all modules will get 'jquery-private'
-        // for their 'jquery' dependency.
-        '*': { 'jquery': 'jquery-private' },
-        // 'jquery-private' wants the real jQuery module
-        // though. If this line was not here, there would
-        // be an unresolvable cyclic dependency.
-        'jquery-private': { 'jquery': 'jquery' }
-    },
     mainConfigFile: '../main.js',
     paths: {
         "converse-dependencies":    "src/deps-website-no-otr"

+ 0 - 16
src/build-website.js

@@ -3,22 +3,6 @@
     name: "components/almond/almond.js",
     out: "../builds/converse.website.min.js",
     include: ['main'],
-    tpl: {
-        // Use Mustache style syntax for variable interpolation
-        templateSettings: {
-            evaluate : /\{\[([\s\S]+?)\]\}/g,
-            interpolate : /\{\{([\s\S]+?)\}\}/g
-        }
-    },
-    map: {
-        // '*' means all modules will get 'jquery-private'
-        // for their 'jquery' dependency.
-        '*': { 'jquery': 'jquery-private' },
-        // 'jquery-private' wants the real jQuery module
-        // though. If this line was not here, there would
-        // be an unresolvable cyclic dependency.
-        'jquery-private': { 'jquery': 'jquery' }
-    },
     mainConfigFile: '../main.js',
     paths: {
         "converse-dependencies":    "src/deps-website"

+ 0 - 16
src/build.js

@@ -3,22 +3,6 @@
     name: "components/almond/almond.js",
     out: "../builds/converse.min.js",
     include: ['main'],
-    tpl: {
-        // Use Mustache style syntax for variable interpolation
-        templateSettings: {
-            evaluate : /\{\[([\s\S]+?)\]\}/g,
-            interpolate : /\{\{([\s\S]+?)\}\}/g
-        }
-    },
-    map: {
-        // '*' means all modules will get 'jquery-private'
-        // for their 'jquery' dependency.
-        '*': { 'jquery': 'jquery-private' },
-        // 'jquery-private' wants the real jQuery module
-        // though. If this line was not here, there would
-        // be an unresolvable cyclic dependency.
-        'jquery-private': { 'jquery': 'jquery' }
-    },
     mainConfigFile: '../main.js',
     paths: {
         "converse-dependencies":    "src/deps-full"