Skip to content

Instantly share code, notes, and snippets.

View 448jp's full-sized avatar
😃
Happy

OKI Yoshiya 448jp

😃
Happy
View GitHub Profile
@ics-ikeda
ics-ikeda / AnimateCC_Rename_Library.jsfl
Created August 29, 2016 02:23
Animate CCのライブラリパネル内のシンボルの名称で、日本語を英語に置換するJSFLです
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");
@K3TH3R
K3TH3R / App.js
Last active October 1, 2017 21:56
ES6 Inheritance from ES5 Classes with EaselJS
// 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',
@yomotsu
yomotsu / gist:7e2ec401c1520d880308
Last active February 24, 2022 14:16
BEMが失敗しているパターンとその問題点

思いついたら足していく

名前にとらわれすぎ

BAD1

「コンポーネントのエレメントのエレメントのエレメントの...」として定義している

  <div class="v1-news">