1 line
1.0 KiB
JavaScript
1 line
1.0 KiB
JavaScript
"use strict";var e=function(){function e(e,n){for(var t in n){var o=n[t];o.configurable=!0,o.value&&(o.writable=!0)}Object.defineProperties(e,n)}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}(),n=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(e.__proto__=n)},t=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},o=require("atom-space-pen-views"),r=o.View,i=require("./animation");module.exports=function(o){function r(){t(this,r),null!=o&&o.apply(this,arguments)}return n(r,o),e(r,{attached:{value:function(){return console.log("attached!")}},initialize:{value:function(e){var n;return console.log(e.uri),n=new i(__dirname+"/../../node_modules/animation-content/json/",e.uri),n.setElement(this[0])}}},{content:{value:function(){return this.div({"class":"bodyRenderer"})}}}),r}(r); |