Zmiana $.log na console.log (IMHO nie warto używać tak skomplikowanego wrappera,...
authorzuber <marek@stepniowski.com>
Tue, 29 Sep 2009 17:31:45 +0000 (19:31 +0200)
committerzuber <marek@stepniowski.com>
Tue, 29 Sep 2009 17:31:45 +0000 (19:31 +0200)
project/static/js/models.js

index e85ed5a..8e4f74d 100644 (file)
@@ -209,12 +209,12 @@ Editor.ImageGalleryModel = Editor.Model.extend({
       alert('erroneous state:', this.get('state'));
     }
 
-    $.log('galleries:', data);
+    console.log('galleries:', data);
 
     if (data.length === 0) {
         this.set('data', []);
     } else {
-        $.log('dupa');
+        console.log('dupa');
         this.set('data', data[0].pages);
     }