зеркало из https://github.com/mozilla/shumway.git
Import Option.
This commit is contained in:
Родитель
5e441db5dc
Коммит
5624d84eaf
|
@ -58,11 +58,10 @@
|
||||||
<script src="../../src/avm2/options.js"></script>
|
<script src="../../src/avm2/options.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
var Option = options.Option;
|
||||||
var OptionSet = options.OptionSet;
|
var OptionSet = options.OptionSet;
|
||||||
var options = new OptionSet("option(s)");
|
|
||||||
var systemOptions = new OptionSet("System Options");
|
var systemOptions = new OptionSet("System Options");
|
||||||
var disassemble = options.register(new Option("disassemble", "d", false, "disassemble"));
|
var disassemble = systemOptions.register(new Option("d", "disassemble", "boolean", false, "disassemble"));
|
||||||
var traceLevel = options.register(new Option("traceLevel", "t", 0, "trace level"));
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../src/avm2/constants.js"></script>
|
<script src="../../src/avm2/constants.js"></script>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче