Closed GoogleCodeExporter closed 8 years ago
Good call. Good patch. It's in review and will land shortly.
Making Blockly not be a singleton would be great. Imagine:
var blockly1 = new Blockly(document.getElementById('blocklyDiv1'),
{path:'../'});
var blockly2 = new Blockly(document.getElementById('blocklyDiv2'),
{path:'../'});
Or something like that.
It has been a slow process, but we are getting close. One by one the
singletons inside Blockly have been converted to classes that can be
instantiated. Blockly.ContextMenu, Blockly.Toolbox, and Blockly.Tooltip are
examples of singletons that still need converting. I think the only things
that should remain singletons are Blockly.Language, Blockly.Procedures,
Blockly.Variables, and Blockly.Xml. Only then can we convert Blockly itself.
I'll grant you commit access to Blockly. Just be sure to send any code to
codereview.appspot.com for an LGTM from me before committing.
http://code.google.com/p/blockly/wiki/ContributingCode
Original comment by neil.fra...@gmail.com
on 4 May 2013 at 3:49
I submitted to code reviews, just stating it here in case I did something wrong
and you didn't get the notification.
Original comment by luismarianoguerra@gmail.com
on 2 Aug 2013 at 5:33
Luis, you need to also click on "Publish+Mail Comments" and fill in Neil's name
at codereview.appspot.com before he'll see it. It's a confusing UI.
Original comment by sper...@google.com
on 2 Aug 2013 at 5:41
Original issue reported on code.google.com by
mari...@marianoguerra.org
on 30 Apr 2013 at 4:14