From 7ee2b6a976a5041a06514805216673ff6331dc54 Mon Sep 17 00:00:00 2001 From: Alexey Date: Sun, 8 Sep 2013 04:49:27 +0300 Subject: changed attr('data-target') to data('target'); this will extend js interface, to be possible to setup targets for tabs as var content=$('
',{text: 'content'}); var tab=('
  • ',{html: $('',{text: 'Main options'})}).addClass('active').data({target: $main,toggle: 'tab'}).appendTo(tabs); --- js/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/tab.js b/js/tab.js index e1c155920..10dc7e99b 100644 --- a/js/tab.js +++ b/js/tab.js @@ -30,7 +30,7 @@ Tab.prototype.show = function () { var $this = this.element var $ul = $this.closest('ul:not(.dropdown-menu)') - var selector = $this.attr('data-target') + var selector = $this.data('target') if (!selector) { selector = $this.attr('href') -- cgit v1.2.3 From 3c0489102ee65bcb020a6fd5fc399d9806a46a51 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 18 Sep 2013 08:20:46 +0300 Subject: Sort by name. --- js/.jshintrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'js') diff --git a/js/.jshintrc b/js/.jshintrc index 94c520d5c..fdfdfbbfb 100644 --- a/js/.jshintrc +++ b/js/.jshintrc @@ -1,14 +1,14 @@ { - "validthis": true, - "laxcomma" : true, - "laxbreak" : true, + "asi" : true, + "boss" : true, "browser" : true, - "eqeqeq" : false, - "eqnull" : true, + "curly" : false, "debug" : true, "devel" : true, - "curly" : false, - "boss" : true, + "eqeqeq" : false, + "eqnull" : true, "expr" : true, - "asi" : true + "laxbreak" : true, + "laxcomma" : true, + "validthis": true } \ No newline at end of file -- cgit v1.2.3 From 62c905f5bc8c2132d434b9bedd5b75c2ea3d85a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Wed, 9 Oct 2013 09:45:05 +0200 Subject: Remove [type] type="text/css" isn't needed --- js/tests/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/tests/index.html b/js/tests/index.html index 501bf38f2..4e3d487db 100644 --- a/js/tests/index.html +++ b/js/tests/index.html @@ -8,7 +8,7 @@ - + -- cgit v1.2.3