Created
May 9, 2014 06:27
-
-
Save 1010real/da4c45ea0e404b8aceeb to your computer and use it in GitHub Desktop.
requireJS note01 addon.js - before
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// addon.js | |
// 鍵カッコを定義 | |
constant.startSquare = '「'; | |
constant.endSquare = '」'; | |
// 鍵カッコをつけた文字列を返す | |
function addSquareBracket(str) { | |
return getConstant('startSquare') + str + getConstant('endSquare'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment