Skip to content

Commit

Permalink
Merge branch 'live-docs' into dev-master
Browse files Browse the repository at this point in the history
Conflicts:
	src/loader/HISTORY.md
	src/yui/HISTORY.md
  • Loading branch information
tripp committed Sep 29, 2014
2 parents ed102b9 + 76f5b34 commit cc905f8
Show file tree
Hide file tree
Showing 151 changed files with 1,208 additions and 150 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yui",
"version": "3.17.3-pre",
"version": "3.18.0",
"main": "build/yui/yui.js",
"devDependencies": {
"pure": "0.4.2"
Expand Down
4 changes: 2 additions & 2 deletions build/editor-selection/editor-selection-coverage.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/editor-selection/editor-selection-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ YUI.add('editor-selection', function (Y, NAME) {
*/
removeCursor: function(keep) {
var cur = this.getCursor();
if (cur) {
if (cur && cur.remove) {
if (keep) {
cur.set('innerHTML', '<br class="yui-cursor">');
} else {
Expand Down
2 changes: 1 addition & 1 deletion build/editor-selection/editor-selection-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/editor-selection/editor-selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ YUI.add('editor-selection', function (Y, NAME) {
*/
removeCursor: function(keep) {
var cur = this.getCursor();
if (cur) {
if (cur && cur.remove) {
if (keep) {
cur.set('innerHTML', '<br class="yui-cursor">');
} else {
Expand Down
4 changes: 2 additions & 2 deletions build/loader-base/loader-base-coverage.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion build/loader-base/loader-base-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,12 +1118,18 @@ Y.Loader.prototype = {
*/
addGroup: function(o, name) {
var mods = o.modules,
self = this, i, v;
self = this,
defaultBase = o.defaultBase || Y.config.defaultBase,
i, v;

name = name || o.name;
o.name = name;
self.groups[name] = o;

if (!o.base && defaultBase && o.root) {
o.base = defaultBase + o.root;
}

if (o.patterns) {
for (i in o.patterns) {
if (o.patterns.hasOwnProperty(i)) {
Expand Down
6 changes: 3 additions & 3 deletions build/loader-base/loader-base-min.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion build/loader-base/loader-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,12 +1115,18 @@ Y.Loader.prototype = {
*/
addGroup: function(o, name) {
var mods = o.modules,
self = this, i, v;
self = this,
defaultBase = o.defaultBase || Y.config.defaultBase,
i, v;

name = name || o.name;
o.name = name;
self.groups[name] = o;

if (!o.base && defaultBase && o.root) {
o.base = defaultBase + o.root;
}

if (o.patterns) {
for (i in o.patterns) {
if (o.patterns.hasOwnProperty(i)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1118,12 +1118,18 @@ Y.Loader.prototype = {
*/
addGroup: function(o, name) {
var mods = o.modules,
self = this, i, v;
self = this,
defaultBase = o.defaultBase || Y.config.defaultBase,
i, v;

name = name || o.name;
o.name = name;
self.groups[name] = o;

if (!o.base && defaultBase && o.root) {
o.base = defaultBase + o.root;
}

if (o.patterns) {
for (i in o.patterns) {
if (o.patterns.hasOwnProperty(i)) {
Expand Down
18 changes: 9 additions & 9 deletions build/loader-pathogen-encoder/loader-pathogen-encoder-min.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion build/loader-pathogen-encoder/loader-pathogen-encoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,12 +1115,18 @@ Y.Loader.prototype = {
*/
addGroup: function(o, name) {
var mods = o.modules,
self = this, i, v;
self = this,
defaultBase = o.defaultBase || Y.config.defaultBase,
i, v;

name = name || o.name;
o.name = name;
self.groups[name] = o;

if (!o.base && defaultBase && o.root) {
o.base = defaultBase + o.root;
}

if (o.patterns) {
for (i in o.patterns) {
if (o.patterns.hasOwnProperty(i)) {
Expand Down
8 changes: 7 additions & 1 deletion build/loader/loader-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,12 +1118,18 @@ Y.Loader.prototype = {
*/
addGroup: function(o, name) {
var mods = o.modules,
self = this, i, v;
self = this,
defaultBase = o.defaultBase || Y.config.defaultBase,
i, v;

name = name || o.name;
o.name = name;
self.groups[name] = o;

if (!o.base && defaultBase && o.root) {
o.base = defaultBase + o.root;
}

if (o.patterns) {
for (i in o.patterns) {
if (o.patterns.hasOwnProperty(i)) {
Expand Down
16 changes: 8 additions & 8 deletions build/loader/loader-min.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion build/loader/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,12 +1115,18 @@ Y.Loader.prototype = {
*/
addGroup: function(o, name) {
var mods = o.modules,
self = this, i, v;
self = this,
defaultBase = o.defaultBase || Y.config.defaultBase,
i, v;

name = name || o.name;
o.name = name;
self.groups[name] = o;

if (!o.base && defaultBase && o.root) {
o.base = defaultBase + o.root;
}

if (o.patterns) {
for (i in o.patterns) {
if (o.patterns.hasOwnProperty(i)) {
Expand Down
4 changes: 2 additions & 2 deletions build/node-core/node-core-coverage.js

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion build/node-core/node-core-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,20 @@ NodeList.addMethod = function(name, fn, context) {
}
};

/**
* Import the named method, or methods from the host onto NodeList.
*
* @method importMethod
* @static
* @param {Object} host The object containing the methods to copy. Typically a prototype.
* @param {String|String[]} name The name, or an Array of names of the methods to import onto NodeList.
* @param {String} [altName] An alternative name to use for the method added to NodeList, which may differ from the name
* of the original host object. Has no effect if <em>name</em> is an array of method names.
*/
NodeList.importMethod = function(host, name, altName) {
if (typeof name === 'string') {
altName = altName || name;
NodeList.addMethod(name, host[name]);
NodeList.addMethod(altName, host[name]);
} else {
Y.Array.each(name, function(n) {
NodeList.importMethod(host, n);
Expand Down
2 changes: 1 addition & 1 deletion build/node-core/node-core-min.js

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

12 changes: 11 additions & 1 deletion build/node-core/node-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -948,10 +948,20 @@ NodeList.addMethod = function(name, fn, context) {
}
};

/**
* Import the named method, or methods from the host onto NodeList.
*
* @method importMethod
* @static
* @param {Object} host The object containing the methods to copy. Typically a prototype.
* @param {String|String[]} name The name, or an Array of names of the methods to import onto NodeList.
* @param {String} [altName] An alternative name to use for the method added to NodeList, which may differ from the name
* of the original host object. Has no effect if <em>name</em> is an array of method names.
*/
NodeList.importMethod = function(host, name, altName) {
if (typeof name === 'string') {
altName = altName || name;
NodeList.addMethod(name, host[name]);
NodeList.addMethod(altName, host[name]);
} else {
Y.Array.each(name, function(n) {
NodeList.importMethod(host, n);
Expand Down
2 changes: 1 addition & 1 deletion build/pjax-base/pjax-base-coverage.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pjax-base/pjax-base-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ PjaxBase.ATTRS = {
@attribute allowFallThrough
@type Boolean
@default true
@since @SINCE@
@since 3.18.0
**/
allowFallThrough: {
value: true
Expand Down
2 changes: 1 addition & 1 deletion build/pjax-base/pjax-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ PjaxBase.ATTRS = {
@attribute allowFallThrough
@type Boolean
@default true
@since @SINCE@
@since 3.18.0
**/
allowFallThrough: {
value: true
Expand Down
4 changes: 2 additions & 2 deletions build/yui-base/yui-base-coverage.js

Large diffs are not rendered by default.

Loading

0 comments on commit cc905f8

Please sign in to comment.