示例#1
0
        public override void Execute(params string[] args)
        {
            jish.ClearBufferedCommand();
            console.log("Clearing context...");
            jish.ExecuteCommand(
                @"
for (var i in this) {
  if (i === 'console' || i === 'global') continue;
  delete this[i];
}
null;
"
                );
        }
示例#2
0
 public override void Execute(params string[] args)
 {
     jish.ClearBufferedCommand();
 }
示例#3
0
文件: JishHost.cs 项目: plkumar/jish
 public void Abort()
 {
     jish.ClearBufferedCommand();
 }