diff editor.js @ 141:15aac5334b64

Started work on replacing nodes with a symbol when a symbol button is clicked
author Mike Pavone <pavone@retrodev.com>
date Fri, 09 Aug 2013 01:36:53 -0700
parents a503a329acfa
children
line wrap: on
line diff
--- a/editor.js	Fri Aug 09 01:35:29 2013 -0700
+++ b/editor.js	Fri Aug 09 01:36:53 2013 -0700
@@ -350,3 +350,8 @@
 		el.webkitRequestFullscreen();
 	}
 }
+
+function create_symbol(name)
+{
+	return new symbol(name);
+}