0.1.4 • Published 10 years ago

d-console v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 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

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago