Changeset 16071 for trunk/FACT++/src/InterpreterV8.cc
- Timestamp:
- 05/23/13 11:08:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r15430 r16071 677 677 if (*str) 678 678 JsOut(*str); 679 } 680 return Undefined(); 681 } 682 683 Handle<Value> InterpreterV8::FuncWarn(const Arguments& args) 684 { 685 for (int i=0; i<args.Length(); i++) 686 { 687 const String::AsciiValue str(args[i]); 688 if (*str) 689 JsWarn(*str); 679 690 } 680 691 return Undefined(); … … 2420 2431 Handle<ObjectTemplate> console = ObjectTemplate::New(); 2421 2432 console->Set(String::New("out"), FunctionTemplate::New(WrapOut), ReadOnly); 2433 console->Set(String::New("warn"), FunctionTemplate::New(WrapWarn), ReadOnly); 2422 2434 2423 2435 Handle<ObjectTemplate> onchange = ObjectTemplate::New();
Note:
See TracChangeset
for help on using the changeset viewer.