Skip to content

Commit 6a8dcfa

Browse files
committed
Merge pull request #166 from za-creature/patch-1
Strict mode compat
2 parents 421b2e5 + 2116509 commit 6a8dcfa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jquery.daterangepicker.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// daterangepicker.js
2-
// version : 0.0.8
2+
// version : 0.0.9
33
// author : Chunlong Liu
4-
// last updated at: 2015-08-22
4+
// last updated at: 2015-10-30
55
// license : MIT
66
// www.jszen.com
77

@@ -1943,7 +1943,7 @@
19431943

19441944
function getApplyBtnClass()
19451945
{
1946-
klass = ''
1946+
var klass = ''
19471947
if (opt.autoClose === true) {
19481948
klass += ' hide';
19491949
}
@@ -2027,7 +2027,7 @@
20272027
}
20282028
});
20292029

2030-
attrString = '';
2030+
var attrString = '';
20312031

20322032
for(var attr in resultObject){
20332033
if(resultObject.hasOwnProperty(attr)){
@@ -2120,7 +2120,7 @@
21202120
if (today.tooltip != '') today.extraClass += ' has-tooltip ';
21212121
}
21222122

2123-
todayDivAttr = {
2123+
var todayDivAttr = {
21242124
time: today.time,
21252125
'data-tooltip': today.tooltip,
21262126
'class': 'day '+today.type+' '+today.extraClass+' '+(today.valid ? 'valid' : 'invalid')+' '+(highlightToday?'real-today':'')

0 commit comments

Comments
 (0)