Explorar el Código

Rename variable

soyjavi hace 13 años
padre
commit
99dd085cae
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      kitchen-sink/app/events.pull.js

+ 2 - 2
kitchen-sink/app/events.pull.js

@@ -1,9 +1,9 @@
-var pull = new Lungo.Element.Pull('section#pull article', {
+var pull_example = new Lungo.Element.Pull('section#pull article', {
     onPull: "Pull down to refresh",
     onRelease: "Release to get new data",
     onRefresh: "Refreshing...",
     callback: function() {
         alert("Pull & Refresh completed!");
-        pull.hide();
+        pull_example.hide();
     }
 });