Did you include the define plugin?
Sent from my iPhone
Sent from my iPhone
JavaScriptMVC ForumHi Justin Meyer,
richard.udo asked a question "EXAMPLES ON SITE DO NOT WORK!!!!"
Paginate = can.Map.extend({
define: {
offset: {
serialize: function(offset){
return (offset / 20)+1
}
}
}
});
p = new Paginate({offset: 40});
p.serialize() //-> {offset: 3}
EHHHH... NO ITS NOT ITS ACTUALLY >>>
Now, you can also post your response to this by simply replying to this email! Your response will automatically appear on the forum.
You are receiving this email because you are watching the CanJS forum in javascriptmvc. If you do not wish to receive this e-mail notifications in the future, unwatch the CanJS forum here.This e-mail is generated from Zoho service. If you think this is SPAM, please do report to us and we will take immediate action on this. Report spam to abuse@zoho.com Contact us: Zoho, 4900 Hopyard Rd., Suite 310 ,Pleasanton, CA 94588, USA www.zoho.com