aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-09-11 05:08:01 +0400
committerOleg <markelog@gmail.com>2013-09-13 01:04:29 +0400
commitcb37994d76afb45efc3b606546349ed4e695c053 (patch)
tree8deabef18039a4f90b7f8035775dcd4bd3474495 /src/manipulation.js
parente12746d756ef32124b163136fe49e753b35c7111 (diff)
downloadjquery-cb37994d76afb45efc3b606546349ed4e695c053.tar.gz
jquery-cb37994d76afb45efc3b606546349ed4e695c053.zip
No ticket: fix code style inconsistencies. Closes gh-1361
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index c51175570..7e5ec07cc 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -1,6 +1,6 @@
// Require more than a few needed variables
// Keep in mind that a dependency array cannot be used with CommonJS+AMD syntax
-define(function( require ){
+define(function( require ) {
var
jQuery = require( "./core" ),
@@ -48,7 +48,6 @@ require( "./traversing" );
require( "./selector" );
require( "./event" );
-
// Support: 1.x compatibility
// Manipulating tables requires a tbody
function manipulationTarget( elem, content ) {
@@ -218,7 +217,7 @@ jQuery.extend({
tmp = tmp || fragment.appendChild( context.createElement("div") );
// Deserialize a standard representation
- tag = ( rtagName.exec( elem ) || ["", ""] )[ 1 ].toLowerCase();
+ tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase();
wrap = wrapMap[ tag ] || wrapMap._default;
tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[ 2 ];
@@ -398,7 +397,7 @@ jQuery.fn.extend({
dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
- return this.map( function () {
+ return this.map(function() {
return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
});
},