Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Apr 23, 2012
1 parent b9bfef2 commit a40c5b3
Show file tree
Hide file tree
Showing 273 changed files with 14,728 additions and 10,708 deletions.
68 changes: 34 additions & 34 deletions build/ajax-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/ajax.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.30dev
MIT Licensed
build time: Apr 9 11:47
build time: Apr 23 11:52
*/
/**
* @fileOverview form data serialization util
Expand Down
51 changes: 25 additions & 26 deletions build/anim-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/anim.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.30dev
MIT Licensed
build time: Mar 23 12:18
build time: Apr 23 11:52
*/
/**
* @fileOverview anim
Expand Down
22 changes: 11 additions & 11 deletions build/autocomplete-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 10 additions & 17 deletions build/autocomplete.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.30dev
MIT Licensed
build time: Apr 13 14:50
build time: Apr 23 11:52
*/
/**
* Combobox derived from autocomplete
Expand Down Expand Up @@ -85,9 +85,9 @@ KISSY.add("autocomplete/BasicComboBoxRender", function (S, UIBase, AutoCompleteR
.append(self.get("el"))
.append(button);
},
_setFocused:function (v) {
_uiSetFocused:function (v) {
var self = this;
Render.superclass._setFocused.apply(self, arguments);
Render.superclass._uiSetFocused.apply(self, arguments);
self.get("container")[v ? "addClass" : "removeClass"](self.get("prefixCls")
+ "combobox-focused");
},
Expand Down Expand Up @@ -318,8 +318,8 @@ KISSY.add("autocomplete/input", function (S, Event, UIBase, Component, Menu, Aut
self.sendRequest(value);
},

_handleBlur:function () {
AutoComplete.superclass._handleBlur.apply(this, arguments);
handleBlur:function () {
AutoComplete.superclass.handleBlur.apply(this, arguments);
var autoCompleteMenu = this.get("menu");
// S.log("input blur!!!!!!!");
if (autoCompleteMenu) {
Expand Down Expand Up @@ -390,7 +390,7 @@ KISSY.add("autocomplete/input", function (S, Event, UIBase, Component, Menu, Aut
alignImmediately(this);
},

_handleKeyEventInternal:function (e) {
handleKeyEventInternal:function (e) {
var self = this,
el = self.get("el"),
autoCompleteMenu = self.get("menu");
Expand All @@ -414,7 +414,7 @@ KISSY.add("autocomplete/input", function (S, Event, UIBase, Component, Menu, Aut
}
var activeItem;
if (autoCompleteMenu.get("visible")) {
var handledByMenu = autoCompleteMenu._handleKeydown(e);
var handledByMenu = autoCompleteMenu.handleKeydown(e);

if (updateInputOnDownUp) {
if (S.inArray(e.keyCode, [KeyCodes.DOWN, KeyCodes.UP])) {
Expand All @@ -436,7 +436,7 @@ KISSY.add("autocomplete/input", function (S, Event, UIBase, Component, Menu, Aut
// if menu is open and an menuitem is highlighted, see as click/enter
if (e.keyCode == KeyCodes.TAB) {
if (activeItem = autoCompleteMenu.get("activeItem")) {
activeItem._performInternal();
activeItem.performActionInternal();
// only prevent focus change in multiple mode
if (self.get("multiple")) {
return true;
Expand Down Expand Up @@ -612,18 +612,11 @@ KISSY.add("autocomplete/input", function (S, Event, UIBase, Component, Menu, Aut
* @lends AutoComplete
*/
{
focusable:{
value:true
},

handleMouseEvents:{
value:false
},

allowTextSelection_:{
value:true
},

/**
* Whether destroy menu when this destroys.Default false
* @type Boolean
Expand Down Expand Up @@ -802,7 +795,7 @@ KISSY.add("autocomplete/input", function (S, Event, UIBase, Component, Menu, Aut
"AutoComplete"
);

Component.UIStore.setUIByClass("autocomplete-input", {
Component.UIStore.setUIConstructorByCssClass("autocomplete-input", {
priority:Component.UIStore.PRIORITY.LEVEL1,
ui:AutoComplete
});
Expand Down Expand Up @@ -1093,7 +1086,7 @@ KISSY.add("autocomplete/menu", function (S, Event, UIBase, Component, Menu, Auto
"AutoComplete_Menu"
);

Component.UIStore.setUIByClass("autocomplete-menu", {
Component.UIStore.setUIConstructorByCssClass("autocomplete-menu", {
priority:Component.UIStore.PRIORITY.LEVEL1,
ui:AutoCompleteMenu
});
Expand Down
Loading

0 comments on commit a40c5b3

Please sign in to comment.