Permalink
Browse files

update docs

  • Loading branch information...
yiminghe committed Nov 22, 2012
1 parent 5285bfb commit 88222342941be2434c58cd73aef2250ef8dab199
Showing 480 changed files with 2,285 additions and 1,512 deletions.
View
@@ -9,6 +9,7 @@ node_js:
- 0.8
before_script:
+ - node ./tools/test/gen-tc.js
- node ./tools/test/server.js &
script:
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 15 23:33
+build time: Nov 22 14:05
*/
/**
* @ignore
@@ -1009,11 +1009,10 @@ KISSY.add('ajax/iframe-transport', function (S, DOM, Event, io) {
}
self.fields = fields;
- // ie6 need a setTimeout to avoid handling load triggered if set iframe src
- setTimeout(function () {
- Event.on(iframe, 'load error', self._callback, self);
- form.submit();
- }, 10);
+
+ // can not setTimeout or else chrome will submit to top window
+ Event.on(iframe, 'load error', self._callback, self);
+ form.submit();
},
@@ -1164,7 +1163,7 @@ KISSY.add('ajax/jsonp', function (S, io) {
converters.script = converters.script || {};
// script -> jsonp ,jsonp need to see json not as script
- // if ie onload a 404 file or all browsers onload an invalid script
+ // if ie onload a 404/500 file or all browsers onload an invalid script
// 404/invalid will be caught here
// because response is undefined( jsonp callback is never called)
// error throwed will be caught in conversion step
@@ -1334,6 +1333,7 @@ KISSY.add('ajax/methods', function (S, IO, undefined) {
* cancel this request
* @member KISSY.IO
* @param {String} [statusText=abort] error reason as current request object's statusText
+ * @chainable
*/
abort: function (statusText) {
var self = this;
@@ -1911,7 +1911,7 @@ KISSY.add('ajax/xhr-transport-base', function (S, io) {
_callback: function (event, abort) {
// Firefox throws exceptions when accessing properties
- // of an xhr when a network error occured
+ // of an xhr when a network error occurred
// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
try {
var self = this,
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* @ignore
@@ -445,7 +445,7 @@ KISSY.add('anim/base', function (S, DOM, Event, Easing, UA, AM, Fx, Q) {
/**
* pause current anim
- * @return this
+ * @chainable
*/
pause: function () {
var self = this;
@@ -460,7 +460,7 @@ KISSY.add('anim/base', function (S, DOM, Event, Easing, UA, AM, Fx, Q) {
/**
* resume current anim
- * @return this
+ * @chainable
*/
resume: function () {
var self = this;
@@ -480,6 +480,7 @@ KISSY.add('anim/base', function (S, DOM, Event, Easing, UA, AM, Fx, Q) {
/**
* start this animation
+ * @chainable
*/
run: function () {
var self = this,
@@ -539,7 +540,7 @@ KISSY.add('anim/base', function (S, DOM, Event, Easing, UA, AM, Fx, Q) {
/**
* stop this animation
* @param {Boolean} [finish] whether jump to the last position of this animation
- * @return this;
+ * @chainable
*/
stop: function (finish) {
var self = this,
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 22:59
+build time: Nov 22 14:05
*/
/**
* @ignore
@@ -223,6 +223,7 @@ KISSY.add('base/attribute', function (S, undefined) {
/**
* get un-cloned attr config collections
* @return {Object}
+ * @private
*/
getAttrs: function () {
return getAttrs(this);
@@ -258,6 +259,7 @@ KISSY.add('base/attribute', function (S, undefined) {
* @param {Function} [attrConfig.validator] call before set attribute 's value
* if return false,cancel this set action
* @param {Boolean} [override] whether override existing attribute config ,default true
+ * @chainable
*/
addAttr: function (name, attrConfig, override) {
var self = this,
@@ -275,6 +277,7 @@ KISSY.add('base/attribute', function (S, undefined) {
* Configures a group of attributes, and sets initial values.
* @param {Object} attrConfigs An object with attribute name/configuration pairs.
* @param {Object} initialValues user defined initial values
+ * @chainable
*/
addAttrs: function (attrConfigs, initialValues) {
var self = this;
@@ -289,13 +292,16 @@ KISSY.add('base/attribute', function (S, undefined) {
/**
* Checks if the given attribute has been added to the host.
+ * @param {String} name attribute name
+ * @return {Boolean}
*/
hasAttr: function (name) {
return getAttrs(this).hasOwnProperty(name);
},
/**
* Removes an attribute from the host object.
+ * @chainable
*/
removeAttr: function (name) {
var self = this;
@@ -457,6 +463,7 @@ KISSY.add('base/attribute', function (S, undefined) {
* @param {String} name name of attribute
* @param {Object} [opts] some options
* @param {Boolean} [opts.silent] whether fire change event
+ * @chainable
*/
reset: function (name, opts) {
var self = this;
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* @fileOverview Button control for KISSY.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* Button DPL For KISSY from Bootstrap.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* Button Group for KISSY from bootstrap.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* Variables to customize the look and feel from Bootstrap.
@@ -1,5 +1,5 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* Variables to customize the look and feel from Bootstrap.
@@ -1,5 +1,5 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* Variables to customize the look and feel from Bootstrap.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
/*
Copyright 2012, KISSY UI Library v1.40dev
MIT Licensed
-build time: Nov 14 21:49
+build time: Nov 22 14:05
*/
/**
* @fileOverview KISSY Calendar
Oops, something went wrong.

0 comments on commit 8822234

Please sign in to comment.