diff --git a/src/definitions/behaviors/api.js b/src/definitions/behaviors/api.js index cb64948fb..8b89775f8 100644 --- a/src/definitions/behaviors/api.js +++ b/src/definitions/behaviors/api.js @@ -67,7 +67,7 @@ $.api = $.fn.api = function(parameters) { // standard module element = this, - context = $context.get(), + context = $context[0], instance = $module.data(moduleNamespace), module ; diff --git a/src/definitions/behaviors/form.js b/src/definitions/behaviors/form.js index eb798d2fb..0f813b6cc 100644 --- a/src/definitions/behaviors/form.js +++ b/src/definitions/behaviors/form.js @@ -393,7 +393,7 @@ $.fn.form = function(parameters) { rules ; $.each(validation, function(fieldName, field) { - if( module.get.field(field.identifier).get(0) == $field.get(0) ) { + if( module.get.field(field.identifier)[0] == $field[0] ) { rules = field; } }); diff --git a/src/definitions/modules/checkbox.js b/src/definitions/modules/checkbox.js index d3858a362..ea10d024f 100644 --- a/src/definitions/modules/checkbox.js +++ b/src/definitions/modules/checkbox.js @@ -87,14 +87,14 @@ $.fn.checkbox = function(parameters) { module.debug('Setting initial value to checked'); module.set.checked(); if(settings.fireOnInit) { - settings.onChecked.call($input.get()); + settings.onChecked.call($input[0]); } } else { module.debug('Setting initial value to unchecked'); module.remove.checked(); if(settings.fireOnInit) { - settings.onUnchecked.call($input.get()); + settings.onUnchecked.call($input[0]); } } }, diff --git a/src/definitions/modules/shape.js b/src/definitions/modules/shape.js index 9485302aa..0075cb48c 100644 --- a/src/definitions/modules/shape.js +++ b/src/definitions/modules/shape.js @@ -102,7 +102,7 @@ $.fn.shape = function(parameters) { repaint: function() { module.verbose('Forcing repaint event'); var - shape = $sides.get(0) || document.createElement('div'), + shape = $sides[0] || document.createElement('div'), fakeAssignment = shape.offsetWidth ; }, @@ -117,7 +117,7 @@ $.fn.shape = function(parameters) { module.reset(); module.set.active(); }; - settings.beforeChange.call($nextSide.get()); + settings.beforeChange.call($nextSide[0]); if(module.get.transitionEvent()) { module.verbose('Starting CSS animation'); $module @@ -279,7 +279,7 @@ $.fn.shape = function(parameters) { $nextSide .addClass(className.active) ; - settings.onChange.call($nextSide.get()); + settings.onChange.call($nextSide[0]); module.set.defaultSide(); } }, diff --git a/src/definitions/modules/sticky.js b/src/definitions/modules/sticky.js index a3fc7ed84..67865ba3c 100644 --- a/src/definitions/modules/sticky.js +++ b/src/definitions/modules/sticky.js @@ -199,7 +199,7 @@ $.fn.sticky = function(parameters) { sticky: function() { var $element = $('
'), - element = $element.get() + element = $element[0] ; $element.addClass(className.supported); return($element.css('position').match('sticky'));