added use strict
This commit is contained in:
parent
b45ee2c3d9
commit
fd2898de94
src
containers
editable-form
element
inputs-ext
inputs
@ -8,6 +8,7 @@ Applied as jQuery method.
|
||||
@uses editableform
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Popup = function (element, options) {
|
||||
this.init(element, options);
|
||||
|
@ -3,6 +3,7 @@
|
||||
* ---------------------
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
//copy prototype from EditableContainer
|
||||
//extend methods
|
||||
|
@ -4,6 +4,7 @@
|
||||
* requires bootstrap-popover.js
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
//extend methods
|
||||
$.extend($.fn.editableContainer.Popup.prototype, {
|
||||
|
@ -4,6 +4,7 @@
|
||||
* requires jquery.poshytip.js
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
//extend methods
|
||||
$.extend($.fn.editableContainer.Popup.prototype, {
|
||||
|
@ -4,6 +4,7 @@
|
||||
* requires jquery ui 1.9.x
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
//extend methods
|
||||
$.extend($.fn.editableContainer.Popup.prototype, {
|
||||
|
@ -2,6 +2,7 @@
|
||||
Editableform based on Twitter Bootstrap
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.extend($.fn.editableform.Constructor.prototype, {
|
||||
initTemplate: function() {
|
||||
|
@ -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,6 +8,7 @@ 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);
|
||||
|
@ -5,6 +5,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
|
||||
@uses editableContainer
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Editable = function (element, options) {
|
||||
this.$element = $(element);
|
||||
|
@ -22,6 +22,8 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Address = function (options) {
|
||||
this.init('address', options, Address.defaults);
|
||||
};
|
||||
|
@ -25,6 +25,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Wysihtml5 = function (options) {
|
||||
this.init('wysihtml5', options, Wysihtml5.defaults);
|
||||
|
@ -6,6 +6,7 @@ To create your own input you can inherit from this class.
|
||||
@class abstractinput
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
//types
|
||||
$.fn.editabletypes = {};
|
||||
|
@ -21,6 +21,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Checklist = function (options) {
|
||||
this.init('checklist', options, Checklist.defaults);
|
||||
|
@ -39,6 +39,7 @@ $(function(){
|
||||
/*global moment*/
|
||||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Constructor = function (options) {
|
||||
this.init('combodate', options, Constructor.defaults);
|
||||
|
@ -24,6 +24,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Date = function (options) {
|
||||
this.init('date', options, Date.defaults);
|
||||
|
@ -9,6 +9,7 @@ Automatically shown in inline mode.
|
||||
@since 1.4.0
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var DateField = function (options) {
|
||||
this.init('datefield', options, DateField.defaults);
|
||||
|
@ -29,6 +29,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var DateTime = function (options) {
|
||||
this.init('datetime', options, DateTime.defaults);
|
||||
|
@ -8,6 +8,7 @@ Automatically shown in inline mode.
|
||||
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var DateTimeField = function (options) {
|
||||
this.init('datetimefield', options, DateTimeField.defaults);
|
||||
|
@ -23,6 +23,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var DateUI = function (options) {
|
||||
this.init('dateui', options, DateUI.defaults);
|
||||
|
@ -9,6 +9,7 @@ Automatically shown in inline mode.
|
||||
@since 1.4.0
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var DateUIField = function (options) {
|
||||
this.init('dateuifield', options, DateUIField.defaults);
|
||||
|
@ -39,6 +39,8 @@ $(function(){
|
||||
Password
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Password = function (options) {
|
||||
this.init('password', options, Password.defaults);
|
||||
};
|
||||
@ -68,6 +70,8 @@ Password
|
||||
Email
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Email = function (options) {
|
||||
this.init('email', options, Email.defaults);
|
||||
};
|
||||
@ -83,6 +87,8 @@ Email
|
||||
Url
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Url = function (options) {
|
||||
this.init('url', options, Url.defaults);
|
||||
};
|
||||
@ -98,6 +104,8 @@ Url
|
||||
Tel
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Tel = function (options) {
|
||||
this.init('tel', options, Tel.defaults);
|
||||
};
|
||||
@ -113,6 +121,8 @@ Tel
|
||||
Number
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var NumberInput = function (options) {
|
||||
this.init('number', options, NumberInput.defaults);
|
||||
};
|
||||
@ -154,6 +164,8 @@ Number
|
||||
Range (inherit from number)
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Range = function (options) {
|
||||
this.init('range', options, Range.defaults);
|
||||
};
|
||||
|
@ -5,6 +5,7 @@ List - abstract class for inputs that have source option loaded from js array or
|
||||
@extends abstractinput
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var List = function (options) {
|
||||
|
||||
|
@ -20,6 +20,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Select = function (options) {
|
||||
this.init('select', options, Select.defaults);
|
||||
|
1
src/inputs/select2/select2.js
vendored
1
src/inputs/select2/select2.js
vendored
@ -35,6 +35,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Constructor = function (options) {
|
||||
this.init('select2', options, Constructor.defaults);
|
||||
|
@ -16,6 +16,8 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Text = function (options) {
|
||||
this.init('text', options, Text.defaults);
|
||||
};
|
||||
|
@ -17,6 +17,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Textarea = function (options) {
|
||||
this.init('textarea', options, Textarea.defaults);
|
||||
|
@ -30,6 +30,7 @@ $(function(){
|
||||
</script>
|
||||
**/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var Constructor = function (options) {
|
||||
this.init('typeahead', options, Constructor.defaults);
|
||||
|
Loading…
x
Reference in New Issue
Block a user