Browse Source

Support for source with other parameters in the url construct closes #239 closes #281 closes #251

pull/345/head
Zach Wise 12 years ago
parent
commit
6c41ba68f4
  1. 81
      codekit-config.json
  2. 4
      compiled/js/timeline-min.js
  3. 8
      compiled/js/timeline.js
  4. 8
      source/js/VMM.Timeline.DataObj.js

81
codekit-config.json

@ -200,18 +200,16 @@
"outputAbbreviatedPath" : "No Output Path", "outputAbbreviatedPath" : "No Output Path",
"fileType" : 2048 "fileType" : 2048
}, },
"\/source\/less\/Core\/Font\/AbrilFatface-Average.less" : { "\/source\/js\/Core\/Language\/locale\/fo.js" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 0, "ignore" : 0,
"hidden" : 0, "hidden" : 0,
"outputPathIsSetByUser" : 0, "outputPathIsSetByUser" : 1,
"inputAbbreviatedPath" : "\/source\/less\/Core\/Font\/AbrilFatface-Average.less", "inputAbbreviatedPath" : "\/source\/js\/Core\/Language\/locale\/fo.js",
"outputStyle" : 1, "outputStyle" : 1,
"shouldRunBless" : 0, "syntaxCheckerStyle" : 0,
"outputAbbreviatedPath" : "\/source\/less\/Core\/css\/AbrilFatface-Average.css", "outputAbbreviatedPath" : "\/compiled\/js\/locale\/fo.js",
"strictImports" : 0, "fileType" : 64
"fileType" : 1,
"debugStyle" : 0
}, },
"\/source\/jade\/sections\/example-head.jade" : { "\/source\/jade\/sections\/example-head.jade" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
@ -255,16 +253,18 @@
"outputAbbreviatedPath" : "No Output Path", "outputAbbreviatedPath" : "No Output Path",
"fileType" : 2048 "fileType" : 2048
}, },
"\/source\/js\/Core\/Language\/locale\/fo.js" : { "\/source\/less\/Core\/Font\/AbrilFatface-Average.less" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 0, "ignore" : 0,
"hidden" : 0, "hidden" : 0,
"outputPathIsSetByUser" : 1, "outputPathIsSetByUser" : 0,
"inputAbbreviatedPath" : "\/source\/js\/Core\/Language\/locale\/fo.js", "inputAbbreviatedPath" : "\/source\/less\/Core\/Font\/AbrilFatface-Average.less",
"outputStyle" : 1, "outputStyle" : 1,
"syntaxCheckerStyle" : 0, "shouldRunBless" : 0,
"outputAbbreviatedPath" : "\/compiled\/js\/locale\/fo.js", "outputAbbreviatedPath" : "\/source\/less\/Core\/css\/AbrilFatface-Average.css",
"fileType" : 64 "strictImports" : 0,
"fileType" : 1,
"debugStyle" : 0
}, },
"\/dev_examples\/taylor\/fisher.jpg" : { "\/dev_examples\/taylor\/fisher.jpg" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
@ -612,17 +612,6 @@
"outputAbbreviatedPath" : "No Output Path", "outputAbbreviatedPath" : "No Output Path",
"fileType" : 2048 "fileType" : 2048
}, },
"\/dev_examples\/taylor\/broadway.jpg" : {
"ignoreWasSetByUser" : 0,
"ignore" : 0,
"hidden" : 0,
"outputPathIsSetByUser" : 0,
"inputAbbreviatedPath" : "\/dev_examples\/taylor\/broadway.jpg",
"processed" : 0,
"outputAbbreviatedPath" : "\/dev_examples\/taylor\/broadway.jpg",
"initialSize" : 111700,
"fileType" : 4096
},
"\/source\/js\/Core\/Media\/VMM.MediaType.js" : { "\/source\/js\/Core\/Media\/VMM.MediaType.js" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 1, "ignore" : 1,
@ -634,6 +623,17 @@
"outputAbbreviatedPath" : "\/source\/js\/Core\/Media\/VMM.MediaType-min.js", "outputAbbreviatedPath" : "\/source\/js\/Core\/Media\/VMM.MediaType-min.js",
"fileType" : 64 "fileType" : 64
}, },
"\/dev_examples\/taylor\/broadway.jpg" : {
"ignoreWasSetByUser" : 0,
"ignore" : 0,
"hidden" : 0,
"outputPathIsSetByUser" : 0,
"inputAbbreviatedPath" : "\/dev_examples\/taylor\/broadway.jpg",
"processed" : 0,
"outputAbbreviatedPath" : "\/dev_examples\/taylor\/broadway.jpg",
"initialSize" : 111700,
"fileType" : 4096
},
"\/compiled\/css\/themes\/font\/Georgia-Helvetica.css" : { "\/compiled\/css\/themes\/font\/Georgia-Helvetica.css" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 1, "ignore" : 1,
@ -1596,26 +1596,26 @@
"outputAbbreviatedPath" : "No Output Path", "outputAbbreviatedPath" : "No Output Path",
"fileType" : 16 "fileType" : 16
}, },
"\/dev_examples\/houston\/whlead.jpg" : { "\/dev_examples\/taylor\/velvet.jpg" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 0, "ignore" : 0,
"hidden" : 0, "hidden" : 0,
"outputPathIsSetByUser" : 0, "outputPathIsSetByUser" : 0,
"inputAbbreviatedPath" : "\/dev_examples\/houston\/whlead.jpg", "inputAbbreviatedPath" : "\/dev_examples\/taylor\/velvet.jpg",
"processed" : 0, "processed" : 0,
"outputAbbreviatedPath" : "\/dev_examples\/houston\/whlead.jpg", "outputAbbreviatedPath" : "\/dev_examples\/taylor\/velvet.jpg",
"initialSize" : 97988, "initialSize" : 77001,
"fileType" : 4096 "fileType" : 4096
}, },
"\/dev_examples\/taylor\/velvet.jpg" : { "\/dev_examples\/houston\/whlead.jpg" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 0, "ignore" : 0,
"hidden" : 0, "hidden" : 0,
"outputPathIsSetByUser" : 0, "outputPathIsSetByUser" : 0,
"inputAbbreviatedPath" : "\/dev_examples\/taylor\/velvet.jpg", "inputAbbreviatedPath" : "\/dev_examples\/houston\/whlead.jpg",
"processed" : 0, "processed" : 0,
"outputAbbreviatedPath" : "\/dev_examples\/taylor\/velvet.jpg", "outputAbbreviatedPath" : "\/dev_examples\/houston\/whlead.jpg",
"initialSize" : 77001, "initialSize" : 97988,
"fileType" : 4096 "fileType" : 4096
}, },
"\/source\/js\/Core\/Library\/bootstrap-tooltip.js" : { "\/source\/js\/Core\/Library\/bootstrap-tooltip.js" : {
@ -1836,11 +1836,11 @@
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 0, "ignore" : 0,
"hidden" : 0, "hidden" : 0,
"outputPathIsSetByUser" : 0, "outputPathIsSetByUser" : 1,
"inputAbbreviatedPath" : "\/source\/js\/Core\/Language\/locale\/ko.js", "inputAbbreviatedPath" : "\/source\/js\/Core\/Language\/locale\/ko.js",
"outputStyle" : 1, "outputStyle" : 1,
"syntaxCheckerStyle" : 0, "syntaxCheckerStyle" : 0,
"outputAbbreviatedPath" : "\/source\/js\/Core\/Language\/locale\/ko-min.js", "outputAbbreviatedPath" : "\/compiled\/js\/locale\/ko.js",
"fileType" : 64 "fileType" : 64
}, },
"\/source\/less\/Core\/Font\/Rancho-Gudea.less" : { "\/source\/less\/Core\/Font\/Rancho-Gudea.less" : {
@ -2127,6 +2127,17 @@
"outputAbbreviatedPath" : "\/compiled\/js\/locale\/zh-cn.js", "outputAbbreviatedPath" : "\/compiled\/js\/locale\/zh-cn.js",
"fileType" : 64 "fileType" : 64
}, },
"\/compiled\/js\/locale\/ko.js" : {
"ignoreWasSetByUser" : 0,
"ignore" : 1,
"hidden" : 0,
"outputPathIsSetByUser" : 0,
"inputAbbreviatedPath" : "\/compiled\/js\/locale\/ko.js",
"outputStyle" : 1,
"syntaxCheckerStyle" : 0,
"outputAbbreviatedPath" : "\/compiled\/js\/locale\/ko-min.js",
"fileType" : 64
},
"\/dev_examples\/power-plants\/fisk_pauldailingmedill.jpg" : { "\/dev_examples\/power-plants\/fisk_pauldailingmedill.jpg" : {
"ignoreWasSetByUser" : 0, "ignoreWasSetByUser" : 0,
"ignore" : 0, "ignore" : 0,

4
compiled/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

8
compiled/js/timeline.js

@ -9125,7 +9125,13 @@ if (typeof VMM.Timeline !== 'undefined' && typeof VMM.Timeline.DataObj == 'undef
LoadLib.js(raw_data, VMM.Timeline.DataObj.onJSONPLoaded); LoadLib.js(raw_data, VMM.Timeline.DataObj.onJSONPLoaded);
} else { } else {
trace("DATA SOURCE: JSON"); trace("DATA SOURCE: JSON");
VMM.getJSON(raw_data + "?callback=onJSONP_Data", VMM.Timeline.DataObj.parseJSON); var req = "";
if (raw_data.indexOf("?") > -1) {
req = raw_data + "&callback=onJSONP_Data";
} else {
req = raw_data + "?callback=onJSONP_Data";
}
VMM.getJSON(req, VMM.Timeline.DataObj.parseJSON);
} }
} else if (type.of(raw_data) == "html") { } else if (type.of(raw_data) == "html") {
trace("DATA SOURCE: HTML"); trace("DATA SOURCE: HTML");

8
source/js/VMM.Timeline.DataObj.js

@ -27,7 +27,13 @@ if (typeof VMM.Timeline !== 'undefined' && typeof VMM.Timeline.DataObj == 'undef
LoadLib.js(raw_data, VMM.Timeline.DataObj.onJSONPLoaded); LoadLib.js(raw_data, VMM.Timeline.DataObj.onJSONPLoaded);
} else { } else {
trace("DATA SOURCE: JSON"); trace("DATA SOURCE: JSON");
VMM.getJSON(raw_data + "?callback=onJSONP_Data", VMM.Timeline.DataObj.parseJSON); var req = "";
if (raw_data.indexOf("?") > -1) {
req = raw_data + "&callback=onJSONP_Data";
} else {
req = raw_data + "?callback=onJSONP_Data";
}
VMM.getJSON(req, VMM.Timeline.DataObj.parseJSON);
} }
} else if (type.of(raw_data) == "html") { } else if (type.of(raw_data) == "html") {
trace("DATA SOURCE: HTML"); trace("DATA SOURCE: HTML");

Loading…
Cancel
Save