0.1.4 • Published 11 years ago

d-console v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
11 years ago

d-command-line

Derby Console component.

Usage

Example usage

In your template

<view name="d-console" dash=">>> " on-new-command="newCommand()"></view>

In your app script

app.proto.newCommand = function (command, callback) {
  try {
    callback(null, eval(command));
  } catch (error) {
    callback(error.message);
  }
}
0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago