javascript - Materialize CSS Framework throws error -
running meteor 1.1.6 materialize 0.96.1 , having no issues until start meteor 1 morning , white screen. console (firebug) says:
syntaxerror: unterminated string literal var c = "input[type=text], input[type=passw found in generated file materialize_materialize.js
stepping in version history can't seem find glaring changed might culprit. looking @ source code found code respective code line terminated:
var c = "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea"; anyone else ever see issue, or have ideas on how fix it?
update: seems meteor generating file fine stops mid-string in above error. after string cut off, file continues with:
/* exports */ if (typeof package === 'undefined') package = {}; package['materialize:materialize'] = { materialize: materialize }; })(); oddly enough, not happen on coworker's machine (he's using osx 10.10.3, while i'm on windows 7).
2nd update: tested issue on ubuntu 14.04 vm, , there no issues - app ran fine. thinking might have meteor version on windows, blew away install, downloaded installer, , re-installed meteor on machine. d'ya know, it worked.
not going mark actual answer yet not know cause of issue is, other went wrong meteor - think.
make sure add sass package. suggest fourseven:scss
also, use poetic:materialize-scss instead of materialize:materialize.
Comments
Post a Comment