1

Trying to add Tangle.js as a new library on browser console. Can anyone tell us where I'm going wrong?

var mylib = {
text: 'Tangle',
scripts: [
{ text: 'Tangle.js', url: 'http://worrydream.com/Tangle/Tangle.js' }
]
}; // the "My Library" object above
libraries.add(mylib);
N Dubya
  • 33
  • 1
  • 4
  • TBH this seems fine to me and should work - unless you're calling libraries.clear() What browser are you using? as some older ones don't support the Storage API To confirm - are you running this in the browser's console or JS Bin's console? – Rich Jun 12 '16 at 14:23
  • Hi Visualife - we're running this in Chrome browser console. The error we're getting is: Error: libraries is not defined(…) – N Dubya Jun 12 '16 at 20:43

0 Answers0