Skip to content

icaliman/d-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);
  }
}

About

Derby Console Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published