And how do I fix it ?
Stripped down to the bare essentials :
All libs loaded as expected and the first two script libs I *know* are OK as I've used them in a fairly complex working canjs single page app.
can.mustache.js appears to be OK, it's a download from a day or two ago and I've already tried a re-download.
I *need* to switch from EJS to Handlebars and I can't even load the *()& plugin ...
What have I missed ? What am I doing wrong ??
Ron
PS Couldn't find a *single* html page example of canjs+mustache, just some discussion about details here and there
Stripped down to the bare essentials :
<!DOCTYPE html> <html> <head> <title>Mustache test</title> <script src="jquery.min.js"></script> <script src="can.jquery.js"></script> <script src="can.mustache.js"></script> </head> <body> <h1>test</h1> </body> </html>
The error using Firefox/Firebug is :
TypeError: can.view.Scanner is not a constructor ... fn: function(content, cmd) { ... can.mustache.js (line 367)
![]() |
All libs loaded as expected and the first two script libs I *know* are OK as I've used them in a fairly complex working canjs single page app.
can.mustache.js appears to be OK, it's a download from a day or two ago and I've already tried a re-download.
I *need* to switch from EJS to Handlebars and I can't even load the *()& plugin ...
What have I missed ? What am I doing wrong ??
Ron
PS Couldn't find a *single* html page example of canjs+mustache, just some discussion about details here and there