- b7721be - fix bug at view id was not been assign. close issues #99
- 407f069 - fix bug: Can not autofocus after click the at-list in FireFox. #95
- 917f033 - fix bug: click do not work in div-contenteditable. close issues #93
- update
Caret.jstov0.0.2 contenteditablesupport !!- change content of default item template
tpl - new rule to insert the
at: will always remove theatfrom inputor but will add it back fromtplin default. so, if you are using your owntpland want to show theatchar, you have to do it yourself. - add
insert_tplsetting forcontenteditable. it will insertdata-valueof li element that eval fromtplin default. - new APIs for
contenteditable:getInsertedItemsWithIDs,getInsertedItems,getInsertedIDs
- bower
- remove
Caret.jscodes and add it as bower dependencies - remove
display_flagsettings. - add
start_with_spacesettings, defaulttrue - change
super_callfunction tocall_default
- release new api
load,run - add
aliassetting forloaddata or as the view's id - matching key with a space before it
- register key in settings
{at: "@", data: []}instead of being a argument max_lensetting for max length to search- change the default matcher regrex rule: occur at start of line or after whitespace
- will not sort the datay without valid query string
- group all data handlers as
Modelclass. - All callbacks's context would be current
Controller
-
datasetting will be used to load data either local or remote. If it's String as URL it will preload data from remote by launch a ajax request (every times At.js callregto update settings) -
remove default
remote_filterfrom callbacks list. -
add
get_dataandsave_datafunction to contoller. They are used to get and save whole data for At.js -
save_datawill invokedata_refactoreverytime -
will filter local data which is set in
settingsfirst and if it get nothing then callremote_filterif it's exists in callbacks list that is set by user.
- remove ability of changing common setting after inputor binded
- can fix list view after matched query in IE now.
- separated core function (get offset of inputor) as a jquery plugins.
No more testing in IEs browsers.
The name atWho was changed to atwho.
- Customer data handlers(matcher, filter, sorter) and template renders(highlight, template eval) by a group of configurable callbacks.
- Support AMD
- Filter by local data and remote (by ajax) data at the same time.
- Caching
- Mouse event
- mean removed option
+ mean new added option
The one that start without - or + mean not change.
-
-data: [], -
+data: null, -
-choose: "data-value", -
+search_key: "name", -
-callback: null, -
+callbacks: DEFAULT_CALLBACKS, -
+display_timeout: 300, -
-tpl: _DEFAULT_TPL -
+tpl: DEFAULT_TPL -
-cache: false
Not change settings
-
cache: true, -
limit: 5, -
display_flag: true,
同步 jquery-atwho-rails gem 的版本号
这会是 v0.1 的固定版本. 不再有新功能更新.
###v0.1.2 2012-3-23
- box showing above instead of bottom when it get close to the bottom of window
- coffeescript here is.
- every registered character able to have thire own options such as template(
tpl) - every inputor (textarea, input) able to have their own registered character and different behavior even the same character to other inputor
###v0.1.0
- 可以監聽多個字符 multiple char listening.
- 顯示缺省列表. show default list.