Skip to content

Instantly share code, notes, and snippets.

@vegitron
Created September 16, 2015 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vegitron/930a00c2713f0cb6225f to your computer and use it in GitHub Desktop.
Save vegitron/930a00c2713f0cb6225f to your computer and use it in GitHub Desktop.
diff --git a/myuw/static/js/myuw_log.js b/myuw/static/js/myuw_log.js
index 90158e6..f1850e7 100644
--- a/myuw/static/js/myuw_log.js
+++ b/myuw/static/js/myuw_log.js
@@ -263,9 +263,11 @@ var LogUtils = {
},
get_all_cards: function(){
+ console.log("------------ Setting card, with positions");
var cards = [],
pos = 0;
$("div").find("[data-type='card']").each(function (i, card) {
+ console.log("I: ", i, " C: ", card);
pos++;
cards.push({element: card, pos: pos});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment