added use strict

This commit is contained in:
vitalets
2013-04-11 23:40:05 +04:00
parent b45ee2c3d9
commit fd2898de94
28 changed files with 62 additions and 20 deletions

View File

@@ -2,8 +2,9 @@
Editableform based on Twitter Bootstrap
*/
(function ($) {
"use strict";
$.extend($.fn.editableform.Constructor.prototype, {
$.extend($.fn.editableform.Constructor.prototype, {
initTemplate: function() {
this.$form = $($.fn.editableform.template);
this.$form.find('.editable-error-block').addClass('help-block');

View File

@@ -2,6 +2,7 @@
Editableform based on jQuery UI
*/
(function ($) {
"use strict";
$.extend($.fn.editableform.Constructor.prototype, {
initButtons: function() {

View File

@@ -2,6 +2,8 @@
* EditableForm utilites
*/
(function ($) {
"use strict";
//utils
$.fn.editableutils = {
/**

View File

@@ -8,7 +8,8 @@ Editableform is linked with one of input types, e.g. 'text', 'select' etc.
@uses textarea
**/
(function ($) {
"use strict";
var EditableForm = function (div, options) {
this.options = $.extend({}, $.fn.editableform.defaults, options);
this.$div = $(div); //div, containing form. Not form tag. Not editable-element.