Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Visual programming in the browser! Now for node.
JavaScript CSS
Branch: master

0.0.6

Update package.json description
latest commit a6c89b9f78
@kumavis authored
Failed to load latest commit information.
lib
.gitignore init commit
README.md Directed straight requires properly.
index.js
package.json 0.0.6

README.md

Node-Blockly

The Blockly Core, ready to Browserify in the Node.js style.

see the original repo on google code for more information

First just install:

npm install blockly

Then you can require it in your project:

var Blockly = require('blockly');

Now you're ready to call functions like you normally would to Blockly:

  Blockly.Language.text_length = {
  category: 'Text',
  helpUrl: 'http://www.w3schools.com/jsref/jsref_length_string.asp',
  init: function() {
    this.setColour(160);
    this.appendValueInput('VALUE')
        .setCheck('String')
        .appendTitle('length');
    this.setOutput(true, 'Number');
    this.setTooltip('Returns number of letters in the provided text.');
  }
};  
Something went wrong with that request. Please try again.