Skip to content

Commit b3b5c4d

Browse files
aantoszczakrommguy
aantoszczak
authored andcommitted
Safari SyntaxError correction (rommguy#54)
Mobile Safari throws: SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
1 parent d04ad89 commit b3b5c4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'use strict'
2-
const CustomScroll = require('./dist/reactCustomScroll')
2+
var CustomScroll = require('./dist/reactCustomScroll')
33

4-
module.exports = CustomScroll
4+
module.exports = CustomScroll

0 commit comments

Comments
 (0)