diff --git a/form/fields/price/price.js b/form/fields/price/price.js
index 2e54376..cb9b094 100644
--- a/form/fields/price/price.js
+++ b/form/fields/price/price.js
@@ -1,3 +1,4 @@
+"use strict";
$(document).ready(function() {
arikaim.ui.button('.clear-price',function(element) {
var priceField = $(element).attr('price-field');
diff --git a/form/fields/slug/slug.js b/form/fields/slug/slug.js
index cd572a3..7910220 100644
--- a/form/fields/slug/slug.js
+++ b/form/fields/slug/slug.js
@@ -1,3 +1,4 @@
+"use strict";
$(document).ready(function() {
var slugSource = $('#slug').attr('slug-source');
var value = $('#' + slugSource).val();
diff --git a/head/head.html b/head/head.html
index 0c78b95..bb39441 100644
--- a/head/head.html
+++ b/head/head.html
@@ -3,6 +3,7 @@
{% set exclude = ['viewport','favicons','og','twitter'] %}
+
{{ head.title }}
diff --git a/message/error/error.js b/message/error/error.js
index c4cd9d4..4da156c 100644
--- a/message/error/error.js
+++ b/message/error/error.js
@@ -1,5 +1,6 @@
+"use strict";
$(document).ready(function() {
- $('.message .close').on('click', function() {
+ $('.message .close').on('click',function() {
$(this).closest('.message').transition('fade');
});
});
\ No newline at end of file
diff --git a/message/warning/warning.js b/message/warning/warning.js
index fdbf1bc..e2b19c8 100644
--- a/message/warning/warning.js
+++ b/message/warning/warning.js
@@ -1,3 +1,4 @@
+"use strict";
$(document).ready(function() {
$('.warning .close').on('click', function() {
$(this).closest('.message').transition('fade');
diff --git a/modal/modal.js b/modal/modal.js
index 73022f4..c6663fa 100644
--- a/modal/modal.js
+++ b/modal/modal.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function Modal() {
var self = this;
diff --git a/option/checkbox/checkbox.js b/option/checkbox/checkbox.js
index fac3e8d..43e7827 100644
--- a/option/checkbox/checkbox.js
+++ b/option/checkbox/checkbox.js
@@ -1,3 +1,4 @@
+"use strict";
$(document).ready(function() {
$('.option-checkbox').checkbox({
onChecked: function() {
diff --git a/paginator/feeds/feeds.js b/paginator/feeds/feeds.js
index f64908f..7d78fd2 100644
--- a/paginator/feeds/feeds.js
+++ b/paginator/feeds/feeds.js
@@ -1,3 +1,4 @@
+"use strict";
arikaim.events.on('paginator.load.page',function(result) {
$('#current_page').html(result.page);
diff --git a/paginator/paginator.js b/paginator/paginator.js
index 85db0e1..cacd98a 100644
--- a/paginator/paginator.js
+++ b/paginator/paginator.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function Paginator() {
var self = this;
diff --git a/paginator/simple/simple.js b/paginator/simple/simple.js
index 72cbced..c08ed36 100644
--- a/paginator/simple/simple.js
+++ b/paginator/simple/simple.js
@@ -1,3 +1,4 @@
+"use strict";
arikaim.events.on('paginator.load.page',function(result) {
$('#current_page').html(result.page);
diff --git a/policy/cookie/dialog/dialog.js b/policy/cookie/dialog/dialog.js
index f27c75b..630f3a2 100644
--- a/policy/cookie/dialog/dialog.js
+++ b/policy/cookie/dialog/dialog.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function CookieDialog() {
var self = this;
diff --git a/popup/popup.js b/popup/popup.js
index 52b90dc..861d15b 100644
--- a/popup/popup.js
+++ b/popup/popup.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function Popup() {
var self = this;
diff --git a/progress-bar/progress-bar.js b/progress-bar/progress-bar.js
index 0e4a818..d4c854c 100644
--- a/progress-bar/progress-bar.js
+++ b/progress-bar/progress-bar.js
@@ -5,6 +5,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function ProgressBar() {
var self = this;
diff --git a/search/form/form.js b/search/form/form.js
index 242f00f..84ebf82 100644
--- a/search/form/form.js
+++ b/search/form/form.js
@@ -1,3 +1,4 @@
+"use strict";
$(document).ready(function() {
$('.search-actions').dropdown();
});
diff --git a/search/search.js b/search/search.js
index 5a172d0..c0cd9ae 100644
--- a/search/search.js
+++ b/search/search.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function Search() {
var self = this;
@@ -16,7 +17,7 @@ function Search() {
allowAdditions: true
});
- arikaim.ui.button(' .clear-search-form',function(element) {
+ arikaim.ui.button('.clear-search-form',function(element) {
arikaim.ui.form.clear(formId);
$(formId).form('clear');
return self.clear(namespace,function(result) {
diff --git a/upload/upload.js b/upload/upload.js
index d9419e8..13e87b4 100644
--- a/upload/upload.js
+++ b/upload/upload.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function FileUpload(formId, options) {
var defaultIdleLabel = "Drag & Drop file or Browse ";
@@ -75,5 +76,5 @@ function FileUpload(formId, options) {
});
};
- this.init(formId, options);
+ this.init(formId,options);
}
\ No newline at end of file
diff --git a/view/type/type.js b/view/type/type.js
index ec2c958..31f337c 100644
--- a/view/type/type.js
+++ b/view/type/type.js
@@ -4,6 +4,7 @@
* @license http://www.arikaim.com/license
* http://www.arikaim.com
*/
+"use strict";
function ViewType() {
var self = this;