Google Chrome extensions using manifest_version: 2 are restricted from using eval or new Function. All of the JavaScript templating librar
manifest_version: 2
eval
new Function
Maybe you can write a function eval1:
function eval1(blah) { var s = document.createElement("script"); s.src = blah; document.head.appendChild(s); document.head.removeChild(s); }
and do a find/replace in the library you want, but that'd be cheating, right?