Fixed compilation scripts and small type error
This commit is contained in:
parent
a8eff4623a
commit
b4fa9dc4ea
|
@ -1 +1 @@
|
|||
closure-library/closure/bin/build/closurebuilder.py --root=js-lib/ --root=closure-library/ --namespace="asciiflow.launch" --compiler_flags="--warning_level=VERBOSE" --compiler_flags="--formatting=PRETTY_PRINT" --compiler_flags="--compilation_level=ADVANCED_OPTIMIZATIONS" --output_mode=compiled --compiler_jar=closure-library/compiler.jar > js-compiled.js
|
||||
../closure-library/closure/bin/build/closurebuilder.py --root=../closure-library/ --root=js-lib/ --namespace="asciiflow.launch" --compiler_flags="--warning_level=VERBOSE" --compiler_flags="--formatting=PRETTY_PRINT" --compiler_flags="--compilation_level=ADVANCED_OPTIMIZATIONS" --output_mode=compiled --compiler_jar=closure-compiler.jar > js-compiled.js
|
||||
|
|
|
@ -7,9 +7,9 @@ goog.require('asciiflow.View');
|
|||
|
||||
asciiflow.launch = function() {
|
||||
var view = new asciiflow.View();
|
||||
var context = view.getCsontext();
|
||||
var context = view.getContext();
|
||||
context.font = 'italic 10pt Calibri';
|
||||
context.fillText('Hello World!', 150, 100);
|
||||
};
|
||||
|
||||
asciiflow.launch();
|
||||
asciiflow.launch();
|
||||
|
|
Loading…
Reference in New Issue