jmpressjs / jmpress.js

A jQuery plugin to build a website on the infinite canvas
http://jmpressjs.github.com/jmpress.js
1.5k stars 237 forks source link

Cannot call method 'call' of undefined on Secondary #144

Closed amitrahav closed 10 years ago

amitrahav commented 10 years ago

hey. Im using jq v2.1.0 and every time i use the secondary option in a template console return a "Uncaught TypeError: Cannot call method 'call' of undefined ". it sends me to line 380 in the jq script :

if (isArray) { for (; i < length; i++) { value = callback.call(obj[i], i, obj[i]);

what can i do? i tried jQuery.noConflict(); unsuccessfully... pls help....

sokra commented 10 years ago

Please create a jsfiddle that demonstate the problem.

amitrahav commented 10 years ago

couldnt get it to work on jsfiddle at all.. http://jsfiddle.net/12345/hT2Kh/2/

what did i do wrong?

sokra commented 10 years ago

The <div id="jmpress"> wrapper was missing...

I don't get the error...

amitrahav commented 10 years ago

fixed it.... now it returns "Uncaught TypeError: Cannot read property 'exclude' of undefined " as an error... but thats not my problem.

the error is the step after 11. here: https://dl.dropboxusercontent.com/u/6297546/yoyoy/index.html#/step-11

sokra commented 10 years ago

Thanks for reporting... That was a bug...