Lines Matching refs:source
112 function addMethods(source) { argument
114 var properties = Object.keys(source);
117 if (source.toString != Object.prototype.toString)
119 if (source.valueOf != Object.prototype.valueOf)
124 var property = properties[i], value = source[property];
152 function extend(destination, source) { argument
153 for (var property in source)
154 destination[property] = source[property];
429 var result = '', source = this, match;
435 if (!(pattern.length || pattern.source)) {
437 return replacement + source.split('').join(replacement) + replacement;
440 while (source.length > 0) {
441 if (match = source.match(pattern)) {
442 result += source.slice(0, match.index);
444 source = source.slice(match.index + match[0].length);
446 result += source, source = '';
2404 clonePosition: function(element, source) {
2414 source = $(source);
2415 var p = Element.viewportOffset(source);
2432 if (options.setWidth) element.style.width = source.offsetWidth + 'px';
2433 if (options.setHeight) element.style.height = source.offsetHeight + 'px';
4800 clone: function(source, target, options) { argument
4802 return Element.clonePosition(target, source, options);