added use strict
This commit is contained in:
@@ -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');
|
||||
|
@@ -2,6 +2,7 @@
|
||||
Editableform based on jQuery UI
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.extend($.fn.editableform.Constructor.prototype, {
|
||||
initButtons: function() {
|
||||
|
@@ -2,6 +2,8 @@
|
||||
* EditableForm utilites
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
//utils
|
||||
$.fn.editableutils = {
|
||||
/**
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user