Преглед изворни кода

3 changes

- updated version of moment.js
- remove unused variables in converse.js
- fix broken link in index.html
JC Brand пре 10 година
родитељ
комит
1390e1a3b0
3 измењених фајлова са 3 додато и 4 уклоњено
  1. 1 1
      bower.json
  2. 1 2
      converse.js
  3. 1 1
      index.html

+ 1 - 1
bower.json

@@ -22,7 +22,7 @@
     "almond": "~0.3.0",
     "requirejs-text": "~2.0.12",
     "requirejs-tpl-jcbrand": "*",
-    "momentjs": "~2.10.3",
+    "momentjs": "~2.10.6",
     "jquery.browser": ">=0.0.7",
     "jquery-easing-original": "https://raw.githubusercontent.com/jcbrand/jquery.easing/7de3458b1845a72c1f407debf6b223c8446396bf/jquery.easing.1.3.js",
     "bootstrap": "~3.2.0",

+ 1 - 2
converse.js

@@ -4581,7 +4581,7 @@
                  * If all contacts are filtered out (i.e. hidden), then the
                  * group must be filtered out as well.
                  */
-                var matches, rejects;
+                var matches;
                 if (q.length === 0) {
                     if (this.model.get('state') === OPENED) {
                         this.model.contacts.each(function (item) {
@@ -4790,7 +4790,6 @@
             },
 
             filter: function (query, type) {
-                var matches;
                 query = query.toLowerCase();
                 if (type === 'groups') {
                     _.each(this.getAll(), function (view, idx) {

+ 1 - 1
index.html

@@ -172,7 +172,7 @@
                         </header>
                         <ul class="screencasts">
                             <li>
-                                <a href="http://opkode.com/media/blog/instant-messaging-for-plone-with-javascript-and-xmpp" target="_blank">
+                                <a href="https://opkode.com/blog/2012/07/30/instant-messaging-for-plone-with-javascript-and-xmpp" target="_blank">
                                     In a Plone site
                                 </a>
                             </li>