Skip to content

Instantly share code, notes, and snippets.

@ed-lea
Created June 7, 2014 19:44
Show Gist options
  • Save ed-lea/4e9613f6e1103255d7dc to your computer and use it in GitHub Desktop.
Save ed-lea/4e9613f6e1103255d7dc to your computer and use it in GitHub Desktop.
myLayers = Framer.Importer.load("imported/some-psd")
layer = new Layer();
myLayers.addSubLayer(layer);
@ed-lea
Copy link
Author

ed-lea commented Jun 7, 2014

error is:

Uncaught TypeError: undefined is not a function app.js:4
(anonymous function)

@ed-lea
Copy link
Author

ed-lea commented Jun 7, 2014

Figured it should be

myLayers['layer'] =  new Layer();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment