You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by re...@apache.org on 2015/08/05 18:28:27 UTC

svn commit: r1694264 - in /devicemap/trunk/clients/2.0/javascript: devicemap.js index.html

Author: rezan
Date: Wed Aug  5 16:28:27 2015
New Revision: 1694264

URL: http://svn.apache.org/r1694264
Log:
loading

Modified:
    devicemap/trunk/clients/2.0/javascript/devicemap.js
    devicemap/trunk/clients/2.0/javascript/index.html

Modified: devicemap/trunk/clients/2.0/javascript/devicemap.js
URL: http://svn.apache.org/viewvc/devicemap/trunk/clients/2.0/javascript/devicemap.js?rev=1694264&r1=1694263&r2=1694264&view=diff
==============================================================================
--- devicemap/trunk/clients/2.0/javascript/devicemap.js (original)
+++ devicemap/trunk/clients/2.0/javascript/devicemap.js Wed Aug  5 16:28:27 2015
@@ -16,7 +16,11 @@ devicemap.debug = devicemap.debug || fun
   }
 };
 
-devicemap.loadPattern = function(patternFile) {
+devicemap.loadURLs = function(patternURL) {
+  devicemap.debug(2, 'patternURL:', patternURL);
+};
+
+devicemap.loadObjects = function(patternFile) {
   devicemap.debug(2, 'loadPattern:', patternFile.domain);
 };
 

Modified: devicemap/trunk/clients/2.0/javascript/index.html
URL: http://svn.apache.org/viewvc/devicemap/trunk/clients/2.0/javascript/index.html?rev=1694264&r1=1694263&r2=1694264&view=diff
==============================================================================
--- devicemap/trunk/clients/2.0/javascript/index.html (original)
+++ devicemap/trunk/clients/2.0/javascript/index.html Wed Aug  5 16:28:27 2015
@@ -71,7 +71,7 @@
     }
 
     function loadClient(patternFile) {
-      devicemap.loadPattern(patternFile);
+      devicemap.loadObjects(patternFile);
     }
 
     function getFile(url, onready) {