Răsfoiți Sursa

Update build files and created new builds.

JC Brand 10 ani în urmă
părinte
comite
6b2dd9b3cb

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
builds/converse-no-locales-no-otr.min.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
builds/converse-no-otr.min.js


Fișier diff suprimat deoarece este prea mare
+ 15 - 15
builds/converse.min.js


Fișier diff suprimat deoarece este prea mare
+ 2 - 0
builds/converse.website-no-otr.min.js


Fișier diff suprimat deoarece este prea mare
+ 17 - 15
builds/converse.website.min.js


+ 7 - 1
index.html

@@ -13,7 +13,13 @@
     <link type="text/css" rel="stylesheet" media="screen" href="components/fontawesome/css/font-awesome.min.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="components/fontawesome/css/font-awesome.min.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="css/theme.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="css/theme.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="css/converse.min.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="css/converse.min.css" />
-    <script data-main="main" src="components/requirejs/require.js"></script>
+    <!-- Only for development: <script data-main="main" src="components/requirejs/require.js"></script> -->
+    <![if gte IE 9]>
+        <script src="builds/converse.website.min.js"></script>
+    <![endif]>
+    <!--[if lt IE 9]>
+        <script src="builds/converse.website-no-otr.min.js"></script>
+    <![endif]-->
 </head>
 </head>
 
 
 <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
 <body id="page-top" data-spy="scroll" data-target=".navbar-custom">

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

@@ -10,6 +10,15 @@
             interpolate : /\{\{([\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' }
+    },
     paths: {
     paths: {
         "backbone":                 "components/backbone/backbone",
         "backbone":                 "components/backbone/backbone",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
@@ -19,6 +28,7 @@
         "converse-templates":       "src/templates",
         "converse-templates":       "src/templates",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "jquery":                   "components/jquery/dist/jquery",
         "jquery":                   "components/jquery/dist/jquery",
+        "jquery-private":           "src/jquery-private",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.easing":            "components/jquery-easing-original/jquery.easing.1.3", // XXX: Only required for https://conversejs.org website
         "jquery.easing":            "components/jquery-easing-original/jquery.easing.1.3", // XXX: Only required for https://conversejs.org website
         "moment":                   "components/momentjs/moment",
         "moment":                   "components/momentjs/moment",

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

@@ -10,6 +10,15 @@
             interpolate : /\{\{([\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' }
+    },
     paths: {
     paths: {
         "backbone":                 "components/backbone/backbone",
         "backbone":                 "components/backbone/backbone",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
@@ -18,6 +27,7 @@
         "converse-templates":       "src/templates",
         "converse-templates":       "src/templates",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "jquery":                   "components/jquery/dist/jquery",
         "jquery":                   "components/jquery/dist/jquery",
+        "jquery-private":           "src/jquery-private",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "moment":                   "components/momentjs/moment",
         "moment":                   "components/momentjs/moment",
         "strophe":                  "components/strophe/strophe",
         "strophe":                  "components/strophe/strophe",

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

@@ -10,6 +10,15 @@
             interpolate : /\{\{([\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' }
+    },
     paths: {
     paths: {
         "backbone":                 "components/backbone/backbone",
         "backbone":                 "components/backbone/backbone",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
@@ -19,6 +28,7 @@
         "converse-templates":       "src/templates",
         "converse-templates":       "src/templates",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "jquery":                   "components/jquery/dist/jquery",
         "jquery":                   "components/jquery/dist/jquery",
+        "jquery-private":           "src/jquery-private",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.easing":            "components/jquery-easing-original/jquery.easing.1.3", // XXX: Only required for https://conversejs.org website
         "jquery.easing":            "components/jquery-easing-original/jquery.easing.1.3", // XXX: Only required for https://conversejs.org website
         "moment":                   "components/momentjs/moment",
         "moment":                   "components/momentjs/moment",

+ 10 - 0
src/build-website.js

@@ -10,6 +10,15 @@
             interpolate : /\{\{([\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' }
+    },
     paths: {
     paths: {
         "backbone":                 "components/backbone/backbone",
         "backbone":                 "components/backbone/backbone",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
@@ -19,6 +28,7 @@
         "converse-templates":       "src/templates",
         "converse-templates":       "src/templates",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "jquery":                   "components/jquery/dist/jquery",
         "jquery":                   "components/jquery/dist/jquery",
+        "jquery-private":           "src/jquery-private",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.easing":            "components/jquery-easing-original/jquery.easing.1.3", // XXX: Only required for https://conversejs.org website
         "jquery.easing":            "components/jquery-easing-original/jquery.easing.1.3", // XXX: Only required for https://conversejs.org website
         "moment":                   "components/momentjs/moment",
         "moment":                   "components/momentjs/moment",

+ 10 - 0
src/build.js

@@ -10,6 +10,15 @@
             interpolate : /\{\{([\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' }
+    },
     paths: {
     paths: {
         "backbone":                 "components/backbone/backbone",
         "backbone":                 "components/backbone/backbone",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
         "backbone.browserStorage":  "components/backbone.browserStorage/backbone.browserStorage",
@@ -18,6 +27,7 @@
         "converse-templates":       "src/templates",
         "converse-templates":       "src/templates",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "eventemitter":             "components/otr/build/dep/eventemitter",
         "jquery":                   "components/jquery/dist/jquery",
         "jquery":                   "components/jquery/dist/jquery",
+        "jquery-private":           "src/jquery-private",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "jquery.browser":           "components/jquery.browser/dist/jquery.browser",
         "moment":                   "components/momentjs/moment",
         "moment":                   "components/momentjs/moment",
         "strophe":                  "components/strophe/strophe",
         "strophe":                  "components/strophe/strophe",

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff