Use strict mode in JavaScript
Strict mode is supported by 98% of the browsers, including Internet Explorer 10, and it helps developers avoid common JavaScript pitfalls.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
"use strict"
|
||||
|
||||
App.TableSortable =
|
||||
getCellValue: (row, index) ->
|
||||
$(row).children("td").eq(index).text()
|
||||
|
||||
Reference in New Issue
Block a user