node/deps/npm/node_modules/editor/example/edit.js

5 lines
144 B
JavaScript
Raw Normal View History

2013-05-11 08:45:37 +08:00
var editor = require('../');
editor(__dirname + '/beep.json', function (code, sig) {
console.log('finished editing with code ' + code);
});