I am a newbie to CanJS. Currently, I need to open a window which
contains one fragment of the codes.
I am using
window.open('fragment.html', '_blank', 'toolbar=yes, scrollbar=no, frame=true, resizable=yes, top=200, left=500, width=700, height=600');
What I did is that I created another html file and load all the libraries I need into the html file and insert my fragment into the html using
$('#fragment').html(template({}));
can.route.ready();
Is there other way to implement this, like using can.route.url ??
Thanks,
CS
I am using
window.open('fragment.html', '_blank', 'toolbar=yes, scrollbar=no, frame=true, resizable=yes, top=200, left=500, width=700, height=600');
What I did is that I created another html file and load all the libraries I need into the html file and insert my fragment into the html using
$('#fragment').html(template({}));
can.route.ready();
Is there other way to implement this, like using can.route.url ??
Thanks,
CS