Commit b06c6b3a authored by Neil Fraser's avatar Neil Fraser

Add grid to code demo.

parent d13df0de
......@@ -367,7 +367,12 @@ Code.init = function() {
var toolbox = document.getElementById('toolbox');
Blockly.inject(document.getElementById('content_blocks'),
{media: '../../media/',
{grid:
{spacing: 25,
length: 3,
colour: '#ccc',
snap: true},
media: '../../media/',
rtl: rtl,
toolbox: toolbox});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment