diff options
author | Chhavi2208 | 2016-06-06 10:38:03 +0530 |
---|---|---|
committer | Chhavi2208 | 2016-06-06 10:38:03 +0530 |
commit | 322e82fa7c183d9181df3157ff22ce17e1d3faba (patch) | |
tree | 706e052ce774d70a0f039a40c326e3badf4e3988 /details.js | |
parent | cfc0c98e9cafb2883c5d259ffcdd0c9dad5e727b (diff) | |
download | xcos-on-web-322e82fa7c183d9181df3157ff22ce17e1d3faba.tar.gz xcos-on-web-322e82fa7c183d9181df3157ff22ce17e1d3faba.tar.bz2 xcos-on-web-322e82fa7c183d9181df3157ff22ce17e1d3faba.zip |
Removed const variable comment
Diffstat (limited to 'details.js')
-rw-r--r-- | details.js | 99 |
1 files changed, 0 insertions, 99 deletions
@@ -4,106 +4,7 @@ /* Author name: ASP1234, Chhavi2208 */ -/* -function findBlock() { - var block = ["Block", "graphics", "model", "gui", "doc"]; - return block.indexOf(arguments[0]); - -} - -function findGraphics() { - var graphics = ["graphics", "orig", "sz", "flip", "theta", "exprs", "pin", "pout", "pein", "peout", "gr_i", "id", "in_implicit", "out_implicit", "in_style", "out_style", "in_label", "out_label", "style"]; - return graphics.indexOf(arguments[0]); -} -function findModel() { - var model = ["model", "sim", "in", "in2", "intyp", "out", "out2", "outtyp", "evtin", "evtout", "state", "dstate", "odstate", "rpar", "ipar", "opar", "blocktype", "firing", "dep_ut", "label", "nzcross", "nmode", "equations", "uid"]; - return model.indexOf(arguments[0]); -} -*/ -//block begin -/* -const graphics = 1; -const model = 2; -const gui = 3; -const doc = 4; -//block ends - -//graphics start -const orig = 1; -const sz = 2; -const flip = 3; -const theta = 4; -const exprs = 5; -const pin = 6; -const pout = 7; -const pein = 8; -const peout = 9; -const gr_i = 10; -const id = 11; -const in_implicit = 12; -const out_implicit = 13; -const in_style = 14; -const out_style = 15; -const in_label = 16; -const out_label = 17; -const style = 18; -// graphics end - -//model begins -const sim = 1; -const in1 = 2; //Can"t use "in" as const name -- keyword in javascript -const in2 = 3; -const intyp = 4; -const out = 5; -const out2 = 6; -const outtyp = 7; -const evtin = 8; -const evtout = 9; -const state = 10; -const dstate = 11; -const odstate = 12; -const rpar = 13; -const ipar = 14; -const opar = 15; -const blocktype = 16; -const firing = 17; -const dep_ut = 18; -const label = 19; -const nzcross = 20; -const nmode = 21; -const equations = 22; -const uid = 23; -//model ends - -//Diagram begins -const props = 1; -const objs = 2; -const version = 3; -const contrib = 4; -//Diagram ends - -//Params begins -const wpar = 1; -const title = 2; -const tol = 3; -const tf = 4; -const context = 5; -const void1 = 6; -const options = 7; -const void2 = 8; -const void3 = 9; -//const doc=10; -//Params ends - -//Default options begins -const D3 = 1; // 3D -const Background = 2; -const Link = 3; -const ID = 4; -const Cmap = 5; -//Default options ends -*/ function scicos_block() { var options = arguments[0] || new Object(); var block_type = ["block", "graphics", "model", "gui", "docs"]; |