diff --git a/assets/dummy-9be94d0bb058679fdfcea4d75fb7dfae.js b/assets/dummy-9be94d0bb058679fdfcea4d75fb7dfae.js new file mode 100644 index 00000000..5ee71dc8 --- /dev/null +++ b/assets/dummy-9be94d0bb058679fdfcea4d75fb7dfae.js @@ -0,0 +1 @@ +define("dummy/app",["exports","ember","ember/resolver","ember/load-initializers","dummy/config/environment"],function(e,t,a,r,n){"use strict";var d;t["default"].MODEL_FACTORY_INJECTIONS=!0,d=t["default"].Application.extend({modulePrefix:n["default"].modulePrefix,podModulePrefix:n["default"].podModulePrefix,Resolver:a["default"]}),r["default"](d,n["default"].modulePrefix),e["default"]=d}),define("dummy/components/c3-chart",["exports","ember","ember-c3/components/c3-chart"],function(e,t,a){"use strict";e["default"]=a["default"]}),define("dummy/controllers/index",["exports","ember"],function(e,t){"use strict";e["default"]=t["default"].Controller.extend({})}),define("dummy/initializers/app-version",["exports","dummy/config/environment","ember"],function(e,t,a){"use strict";var r=a["default"].String.classify,n=!1;e["default"]={name:"App Version",initialize:function(e,d){if(!n){var i=r(d.toString());a["default"].libraries.register(i,t["default"].APP.version),n=!0}}}}),define("dummy/initializers/export-application-global",["exports","ember","dummy/config/environment"],function(e,t,a){"use strict";function r(e,r){var n=t["default"].String.classify(a["default"].modulePrefix);a["default"].exportApplicationGlobal&&!window[n]&&(window[n]=r)}e.initialize=r,e["default"]={name:"export-application-global",initialize:r}}),define("dummy/router",["exports","ember","dummy/config/environment"],function(e,t,a){"use strict";var r=t["default"].Router.extend({location:a["default"].locationType});e["default"]=r.map(function(){})}),define("dummy/routes/index",["exports","ember"],function(e,t){"use strict";e["default"]=t["default"].Route.extend({model:function(){return{columns:[["data1",30,20,50,40,60,50],["data2",200,130,90,240,130,220],["data3",300,200,160,400,250,250],["data4",200,130,90,240,130,220],["data5",130,120,150,140,160,150],["data6",90,70,20,50,60,120]],type:"bar",types:{data3:"spline",data4:"line",data6:"area"},groups:[["data1","data2"]]}}})}),define("dummy/templates/application",["exports"],function(e){"use strict";e["default"]=Ember.HTMLBars.template(function(){return{isHTMLBars:!0,revision:"Ember@1.11.1",blockParams:0,cachedFragment:null,hasRendered:!1,build:function(e){var t=e.createDocumentFragment(),a=e.createElement("div"),r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("nav");e.setAttribute(r,"class","navbar navbar-default navbar-fixed-top"),e.setAttribute(r,"role","navigation");var n=e.createTextNode("\n ");e.appendChild(r,n);var n=e.createElement("div");e.setAttribute(n,"class","navbar-header");var d=e.createTextNode("\n ");e.appendChild(n,d);var d=e.createElement("button");e.setAttribute(d,"type","button"),e.setAttribute(d,"class","navbar-toggle"),e.setAttribute(d,"data-toggle","collapse"),e.setAttribute(d,"data-target",".navbar-ex1-collapse");var i=e.createTextNode("\n ");e.appendChild(d,i);var i=e.createElement("span");e.setAttribute(i,"class","sr-only");var l=e.createTextNode("Toggle navigation");e.appendChild(i,l),e.appendChild(d,i);var i=e.createTextNode("\n ");e.appendChild(d,i);var i=e.createElement("span");e.setAttribute(i,"class","icon-bar"),e.appendChild(d,i);var i=e.createTextNode("\n ");e.appendChild(d,i);var i=e.createElement("span");e.setAttribute(i,"class","icon-bar"),e.appendChild(d,i);var i=e.createTextNode("\n ");e.appendChild(d,i);var i=e.createElement("span");e.setAttribute(i,"class","icon-bar"),e.appendChild(d,i);var i=e.createTextNode("\n ");e.appendChild(d,i),e.appendChild(n,d);var d=e.createTextNode("\n ");e.appendChild(n,d);var d=e.createElement("a");e.setAttribute(d,"class","navbar-brand"),e.setAttribute(d,"href","#");var i=e.createTextNode("Ember C3");e.appendChild(d,i),e.appendChild(n,d);var d=e.createTextNode("\n ");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode("\n ");e.appendChild(r,n);var n=e.createElement("ul");e.setAttribute(n,"class","nav navbar-nav navbar-right");var d=e.createTextNode("\n ");e.appendChild(n,d);var d=e.createElement("li"),i=e.createElement("a");e.setAttribute(i,"href","https://github.com/Glavin001/ember-c3"),e.setAttribute(i,"target","_blank");var l=e.createTextNode("Source");e.appendChild(i,l),e.appendChild(d,i),e.appendChild(n,d);var d=e.createTextNode("\n ");e.appendChild(n,d);var d=e.createElement("li"),i=e.createElement("a");e.setAttribute(i,"href","https://github.com/Glavin001/ember-c3/issues"),e.setAttribute(i,"target","_blank");var l=e.createTextNode("Issues/Suggestions");e.appendChild(i,l),e.appendChild(d,i),e.appendChild(n,d);var d=e.createTextNode("\n ");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode("\n ");e.appendChild(r,n);var n=e.createElement("div");e.setAttribute(n,"class","collapse navbar-collapse navbar-ex1-collapse");var d=e.createTextNode("\n ");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode("\n ");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("div");e.setAttribute(r,"class","container"),e.setAttribute(r,"id","main");var n=e.createTextNode("\n ");e.appendChild(r,n);var n=e.createComment("");e.appendChild(r,n);var n=e.createTextNode("\n ");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n");e.appendChild(a,r),e.appendChild(t,a);var a=e.createTextNode("\n");return e.appendChild(t,a),t},render:function(e,t,a){var r=t.dom,n=t.hooks,d=n.content;r.detectNamespace(a);var i;t.useFragmentCache&&r.canClone?(null===this.cachedFragment&&(i=this.build(r),this.hasRendered?this.cachedFragment=i:this.hasRendered=!0),this.cachedFragment&&(i=r.cloneNode(this.cachedFragment,!0))):i=this.build(r);var l=r.createMorphAt(r.childAt(i,[0,3]),1,1);return d(t,l,e,"outlet"),i}}}())}),define("dummy/templates/index",["exports"],function(e){"use strict";e["default"]=Ember.HTMLBars.template(function(){return{isHTMLBars:!0,revision:"Ember@1.11.1",blockParams:0,cachedFragment:null,hasRendered:!1,build:function(e){var t=e.createDocumentFragment(),a=e.createElement("div");e.setAttribute(a,"class","");var r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("h1");e.setAttribute(r,"class","");var n=e.createTextNode("Welcome to Ember C3");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n\n ");e.appendChild(a,r);var r=e.createElement("br");e.appendChild(a,r);var r=e.createTextNode("\n\n ");e.appendChild(a,r);var r=e.createElement("h2"),n=e.createTextNode("Generated Chart");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("p"),n=e.createTextNode("See the ");e.appendChild(r,n);var n=e.createElement("strong"),d=e.createTextNode("data");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode(" in the JSON editor below.");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n\n ");e.appendChild(a,r);var r=e.createComment("");e.appendChild(a,r);var r=e.createTextNode("\n\n ");e.appendChild(a,r);var r=e.createElement("h3"),n=e.createTextNode("Usage In Ember");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("p"),n=e.createTextNode("See ");e.appendChild(r,n);var n=e.createElement("a");e.setAttribute(n,"href","https://github.com/Glavin001/ember-c3/tree/master/app"),e.setAttribute(n,"target","_blank");var d=e.createTextNode("example app source code on GitHub");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode(".");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("div");e.setAttribute(r,"class","well");var n=e.createTextNode("\n {{c3-chart data=model}}\n ");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n\n ");e.appendChild(a,r);var r=e.createElement("hr");e.appendChild(a,r);var r=e.createTextNode("\n\n ");e.appendChild(a,r);var r=e.createElement("h2"),n=e.createTextNode("Chart Editor");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n ");e.appendChild(a,r);var r=e.createElement("p"),n=e.createTextNode("\n Edit the ");e.appendChild(r,n);var n=e.createElement("strong"),d=e.createTextNode("data");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode(" below, powered by\n ");e.appendChild(r,n);var n=e.createElement("a");e.setAttribute(n,"href","https://github.com/Glavin001/ember-jsoneditor"),e.setAttribute(n,"target","_blank");var d=e.createTextNode("Ember JSONEditor");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode(",\n to see the changes thanks to two-way data binding support.\n The ");e.appendChild(r,n);var n=e.createElement("strong"),d=e.createTextNode("data");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode(" below is from the\n ");e.appendChild(r,n);var n=e.createElement("a");e.setAttribute(n,"href","http://c3js.org/samples/chart_combination.html"),e.setAttribute(n,"target","_blank");var d=e.createTextNode("Combination Chart");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode("\n in the ");e.appendChild(r,n);var n=e.createElement("a");e.setAttribute(n,"href","http://c3js.org/examples.html"),e.setAttribute(n,"target","_blank");var d=e.createTextNode("C3 examples");e.appendChild(n,d),e.appendChild(r,n);var n=e.createTextNode(".\n ");e.appendChild(r,n),e.appendChild(a,r);var r=e.createTextNode("\n\n");e.appendChild(a,r),e.appendChild(t,a);var a=e.createTextNode("\n");return e.appendChild(t,a),t},render:function(e,t,a){var r=t.dom,n=t.hooks,d=n.get,i=n.inline;r.detectNamespace(a);var l;t.useFragmentCache&&r.canClone?(null===this.cachedFragment&&(l=this.build(r),this.hasRendered?this.cachedFragment=l:this.hasRendered=!0),this.cachedFragment&&(l=r.cloneNode(this.cachedFragment,!0))):l=this.build(r);var p=r.createMorphAt(r.childAt(l,[0]),9,9);return i(t,p,e,"c3-chart",[],{data:d(t,e,"model")}),l}}}())}),define("dummy/config/environment",["ember"],function(e){var t="dummy";try{var a=t+"/config/environment",r=e["default"].$('meta[name="'+a+'"]').attr("content"),n=JSON.parse(unescape(r));return{"default":n}}catch(d){throw new Error('Could not read config from meta tag with name "'+a+'".')}}),runningTests?require("dummy/tests/test-helper"):require("dummy/app")["default"].create({name:"ember-c3",version:"0.0.1.05585350"}); \ No newline at end of file diff --git a/assets/dummy-de3c495d5da3bffcdc865aaa60f76ab3.css b/assets/dummy-de3c495d5da3bffcdc865aaa60f76ab3.css new file mode 100644 index 00000000..6667a710 --- /dev/null +++ b/assets/dummy-de3c495d5da3bffcdc865aaa60f76ab3.css @@ -0,0 +1 @@ +body,html{margin:20px} \ No newline at end of file diff --git a/assets/vendor-5c61d5f27ff9431006c6f399607cfccb.js b/assets/vendor-5c61d5f27ff9431006c6f399607cfccb.js new file mode 100644 index 00000000..93e89c0b --- /dev/null +++ b/assets/vendor-5c61d5f27ff9431006c6f399607cfccb.js @@ -0,0 +1,28 @@ +window.EmberENV={FEATURES:{}};var runningTests=!1;self.EmberENV.EXTEND_PROTOTYPES=!1;var define,requireModule,require,requirejs;!function(){function e(e,t){try{return e()}finally{t()}}function t(e){throw new Error("an unsupported module was defined, expected `define(name, deps, module)` instead got: `"+e+"` arguments to define`")}function r(e,t,r,n){this.id=d++,this.name=e,this.deps=!t.length&&r.length?f:t,this.exports=n||{},this.callback=r,this.state=void 0,this._require=void 0}function n(e){this.name=e}function i(e,t,r){for(var n,i=e.deps,o=i.length,u=new Array(o),l={},c=0,h=o;h>c;c++)n=i[c],"exports"===n?l.exports=u[c]=r:"require"===n?u[c]=e.makeRequire():"module"===n?(e.exports=r,l=u[c]=e):u[c]=a(s(n,t),t);return{deps:u,module:l}}function a(e,t){var r=l[e];if(!r)throw new Error("Could not find module `"+e+"` imported from `"+t+"`");return require(e)}function o(e){throw new Error("Could not find module "+e)}function s(e,t){if("."!==e.charAt(0))return e;for(var r=e.split("/"),n=t.split("/"),i=n.slice(0,-1),a=0,o=r.length;o>a;a++){var s=r[a];if(".."===s){if(0===i.length)throw new Error("Cannot access parent module of root");i.pop()}else{if("."===s)continue;i.push(s)}}return i.join("/")}var u;u=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var l={},c={},h=!1,d=0,f=["require","exports","module"];r.prototype.makeRequire=function(){var e=this.name;return this._require||(this._require=function(t){return require(s(t,e))})},define=function(e,n,i){arguments.length<2&&t(arguments.length),u(n)||(i=n,n=[]),l[e]=new r(e,n,i)},define.petal={},define.alias=function(e){return new n(e)},requirejs=require=requireModule=function(t){var r=l[t];if(r&&r.callback instanceof n&&(r=l[r.callback.name]),r||o(t),r.state!==h&&c.hasOwnProperty(t))return c[t];var a,s,u=!1;c[t]={},e(function(){a=i(r,t,c[t]),s=r.callback.apply(this,a.deps),u=!0},function(){u||(r.state=h)});var d;return d=void 0===s&&a.module.exports?a.module.exports:c[t]=s,null===d||"object"!=typeof d&&"function"!=typeof d||void 0!==d["default"]||(d["default"]=d),c[t]=d},requirejs.entries=requirejs._eak_seen=l,requirejs.clear=function(){requirejs.entries=requirejs._eak_seen=l={},c=state={}}}(),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function r(e){var t="length"in e&&e.length,r=ie.type(e);return"function"===r||ie.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e}function n(e,t,r){if(ie.isFunction(t))return ie.grep(e,function(e,n){return!!t.call(e,n,e)!==r});if(t.nodeType)return ie.grep(e,function(e){return e===t!==r});if("string"==typeof t){if(de.test(t))return ie.filter(t,e,r);t=ie.filter(t,e)}return ie.grep(e,function(e){return ie.inArray(e,t)>=0!==r})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function a(e){var t=_e[e]={};return ie.each(e.match(be)||[],function(e,r){t[r]=!0}),t}function o(){pe.addEventListener?(pe.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1)):(pe.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(pe.addEventListener||"load"===event.type||"complete"===pe.readyState)&&(o(),ie.ready())}function u(e,t,r){if(void 0===r&&1===e.nodeType){var n="data-"+t.replace(Ee,"-$1").toLowerCase();if(r=e.getAttribute(n),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:Te.test(r)?ie.parseJSON(r):r}catch(i){}ie.data(e,t,r)}else r=void 0}return r}function l(e){var t;for(t in e)if(("data"!==t||!ie.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,r,n){if(ie.acceptData(e)){var i,a,o=ie.expando,s=e.nodeType,u=s?ie.cache:e,l=s?e[o]:e[o]&&o;if(l&&u[l]&&(n||u[l].data)||void 0!==r||"string"!=typeof t)return l||(l=s?e[o]=K.pop()||ie.guid++:o),u[l]||(u[l]=s?{}:{toJSON:ie.noop}),("object"==typeof t||"function"==typeof t)&&(n?u[l]=ie.extend(u[l],t):u[l].data=ie.extend(u[l].data,t)),a=u[l],n||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[ie.camelCase(t)]=r),"string"==typeof t?(i=a[t],null==i&&(i=a[ie.camelCase(t)])):i=a,i}}function h(e,t,r){if(ie.acceptData(e)){var n,i,a=e.nodeType,o=a?ie.cache:e,s=a?e[ie.expando]:ie.expando;if(o[s]){if(t&&(n=r?o[s]:o[s].data)){ie.isArray(t)?t=t.concat(ie.map(t,ie.camelCase)):t in n?t=[t]:(t=ie.camelCase(t),t=t in n?[t]:t.split(" ")),i=t.length;for(;i--;)delete n[t[i]];if(r?!l(n):!ie.isEmptyObject(n))return}(r||(delete o[s].data,l(o[s])))&&(a?ie.cleanData([e],!0):re.deleteExpando||o!=o.window?delete o[s]:o[s]=null)}}}function d(){return!0}function f(){return!1}function p(){try{return pe.activeElement}catch(e){}}function m(e){var t=Fe.split("|"),r=e.createDocumentFragment();if(r.createElement)for(;t.length;)r.createElement(t.pop());return r}function g(e,t){var r,n,i=0,a=typeof e.getElementsByTagName!==Ce?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Ce?e.querySelectorAll(t||"*"):void 0;if(!a)for(a=[],r=e.childNodes||e;null!=(n=r[i]);i++)!t||ie.nodeName(n,t)?a.push(n):ie.merge(a,g(n,t));return void 0===t||t&&ie.nodeName(e,t)?ie.merge([e],a):a}function v(e){Re.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t){return ie.nodeName(e,"table")&&ie.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function b(e){return e.type=(null!==ie.find.attr(e,"type"))+"/"+e.type,e}function _(e){var t=Ye.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function x(e,t){for(var r,n=0;null!=(r=e[n]);n++)ie._data(r,"globalEval",!t||ie._data(t[n],"globalEval"))}function w(e,t){if(1===t.nodeType&&ie.hasData(e)){var r,n,i,a=ie._data(e),o=ie._data(t,a),s=a.events;if(s){delete o.handle,o.events={};for(r in s)for(n=0,i=s[r].length;i>n;n++)ie.event.add(t,r,s[r][n])}o.data&&(o.data=ie.extend({},o.data))}}function C(e,t){var r,n,i;if(1===t.nodeType){if(r=t.nodeName.toLowerCase(),!re.noCloneEvent&&t[ie.expando]){i=ie._data(t);for(n in i.events)ie.removeEvent(t,n,i.handle);t.removeAttribute(ie.expando)}"script"===r&&t.text!==e.text?(b(t).text=e.text,_(t)):"object"===r?(t.parentNode&&(t.outerHTML=e.outerHTML),re.html5Clone&&e.innerHTML&&!ie.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===r&&Re.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===r?t.defaultSelected=t.selected=e.defaultSelected:("input"===r||"textarea"===r)&&(t.defaultValue=e.defaultValue)}}function T(t,r){var n,i=ie(r.createElement(t)).appendTo(r.body),a=e.getDefaultComputedStyle&&(n=e.getDefaultComputedStyle(i[0]))?n.display:ie.css(i[0],"display");return i.detach(),a}function E(e){var t=pe,r=Je[e];return r||(r=T(e,t),"none"!==r&&r||(Ze=(Ze||ie("