[ Launch: Loop Test 1 ] 10083820 by dmann99
-
-
Save dmann99/10083820 to your computer and use it in GitHub Desktop.
Loop Test 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"description":"Loop Test 1","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"sdata.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true,"thumbnail":"http://i.imgur.com/3RPYzVr.png"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sdata = tributary.sdata; | |
for (var key in sdata) { | |
if (sdata.hasOwnProperty(key)) { | |
var STEP_NO = sdata[key].step; | |
var OP_TYPE = sdata[key].type; | |
console.log(STEP_NO + " | " + OP_TYPE); | |
if (OP_TYPE == "table") { | |
console.log("|" + sdata[key].table_name); | |
} | |
if (OP_TYPE == "fk") { | |
console.log("| REL " + sdata[key].source + " -> " + sdata[key].target); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"step": "1", | |
"type": "table", | |
"table_name": "EMP" | |
}, | |
{ | |
"step": "2", | |
"type": "table", | |
"table_name": "DEPT" | |
}, { | |
"step": "3", | |
"type": "fk", | |
"source": "EMP", | |
"target": "DEPT" | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment