You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2015/06/09 10:32:54 UTC

svn commit: r1684352 - /myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Author: lofwyr
Date: Tue Jun  9 08:32:53 2015
New Revision: 1684352

URL: http://svn.apache.org/r1684352
Log:
selector was not exactly defined

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1684352&r1=1684351&r2=1684352&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Tue Jun  9 08:32:53 2015
@@ -100,9 +100,9 @@ var Tobago = {
 
   reloadTimer: {},
 
-  jsObjects: new Array(),
+  jsObjects: [],
 
-  eventListeners: new Array(),
+  eventListeners: [],
 
   /**
     * Check browser types and versions.
@@ -128,7 +128,7 @@ var Tobago = {
   /**
    * Array to queue ScriptLoaders.
    */
-  scriptLoaders: new Array(),
+  scriptLoaders: [],
 
   ajaxComponents: {},
 
@@ -926,7 +926,7 @@ var Tobago = {
   initCss: function (elements) {
     // element styles
     console.time("[tobago] initCss"); // @DEV_ONLY
-    Tobago.Utils.selectWithJQuery(elements, ".tobago-image").add(
+    Tobago.Utils.selectWithJQuery(elements, ".tobago-image[data-tobago-style]").add(
         Tobago.Utils.selectWithJQuery(elements, ".modal-dialog[data-tobago-style]")).each(function () {
           var element = jQuery(this);
           var data = element.data("tobago-style");