Select2 has moved to a new location, under a central GitHub organization. You can find the latest documentation and code for Select2 at the new Select2 repository.
$('textarea').textcomplete({ // mentionã¯åãªãååã§æå³ã¯ããã¾ããã // åãããããååãã¤ãã¦ãã ããã mention: { // å¿ é è¨å® match: /(^|\s)@(\w*)$/, search: function (term, callback) { // callback ã«ã¯æååã®é åãæ¸¡ã $.getJSON('/search', { q: term }) .done(function (resp) { callback(resp); }) .fail(function () { callback([]); }); }, replace: function (value) { return '$1@' + value + ' '; }, // ä»»æè¨å®ï¼ä¸è¨ã¯ããããããã©ã«ãå¤ï¼ index: 2, maxCount:
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}