思いついたら足していく
「コンポーネントのエレメントのエレメントのエレメントの...」として定義している
<div class="v1-news">
// EaselJS still has some problems compiling with Webpack/CommonJS as of this | |
// publishing (01/23/2016), which makes it difficult to write modularity | |
// in ES6 for it. However, it's not that hard to work around: | |
import { Car, Mustang } from './Cars'; | |
let createjs = window.createjs; // local reference to createjs and bypasses the current module issues | |
let stage = new createjs.Stage('car_canvas'); | |
let car = new Car({ | |
color: '#0081c9', | |
id: 'car1', |
function deleteJapaneseName(){ | |
var lib = fl.getDocumentDOM().library; | |
for(var i=0; i<lib.items.length; i++){ | |
var o = lib.items[i]; | |
var obj = getItemObject(o.name); | |
var name = obj.name; | |
// 日本語を英語に置換する | |
name = name.split("アセット").join("asset"); | |
name = name.split("シェイプ").join("shape"); |