Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created July 8, 2017 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/253cc4536255d8bdd7ae62d41179a573 to your computer and use it in GitHub Desktop.
Save goofmint/253cc4536255d8bdd7ae62d41179a573 to your computer and use it in GitHub Desktop.
var SampleClass = h5.cls.RootClass.extend(function (super_) {
return {
// クラス名(完全修飾名)
name: 'SampleClass',
// クラスのフィールド定義
field: {
},
// クラスのプロパティ(アクセサ)定義
accessor: {
},
// クラスのメソッド定義
method: {
constructor: function (initialValue) {
},
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment