diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 10:27:06 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 10:28:26 -0400 |
commit | 0a5a9090f827cd186ac486344327bcbb3901fd34 (patch) | |
tree | 085dfcb5a99db48b464bff91e112a37cf6e206af /tests/unit/droppable/droppable_core.js | |
parent | 58a120bb4b022b3d2237aabaa960e42d9fe821ba (diff) | |
download | jquery-ui-0a5a9090f827cd186ac486344327bcbb3901fd34.tar.gz jquery-ui-0a5a9090f827cd186ac486344327bcbb3901fd34.zip |
Tests: Lint.
Diffstat (limited to 'tests/unit/droppable/droppable_core.js')
-rw-r--r-- | tests/unit/droppable/droppable_core.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/droppable/droppable_core.js b/tests/unit/droppable/droppable_core.js index 4d82017b9..3f709d25d 100644 --- a/tests/unit/droppable/droppable_core.js +++ b/tests/unit/droppable/droppable_core.js @@ -17,15 +17,15 @@ function shouldNotBeDroppable() { module("droppable: core"); test("element types", function() { - var typeNames = ('p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,dl,div,form' - + ',table,fieldset,address,ins,del,em,strong,q,cite,dfn,abbr' - + ',acronym,code,samp,kbd,var,img,object,hr' - + ',input,button,label,select,iframe').split(','); + var typeNames = ('p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,dl,div,form' + + ',table,fieldset,address,ins,del,em,strong,q,cite,dfn,abbr' + + ',acronym,code,samp,kbd,var,img,object,hr' + + ',input,button,label,select,iframe').split(','); $.each(typeNames, function(i) { var typeName = typeNames[i]; el = $(document.createElement(typeName)).appendTo('body'); - (typeName == 'table' && el.append("<tr><td>content</td></tr>")); + (typeName === 'table' && el.append("<tr><td>content</td></tr>")); el.droppable(); shouldBeDroppable(); el.droppable("destroy"); |