Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Fix SSR #1253

Closed
wants to merge 1 commit into from
Closed

Fix SSR #1253

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build/iscroll-infinite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2017 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
if (typeof window == 'undefined' && typeof module != 'undefined')
module.exports = { __disabled: 'No SSR support' };
else

(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down
6 changes: 5 additions & 1 deletion build/iscroll-lite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2017 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
if (typeof window == 'undefined' && typeof module != 'undefined')
module.exports = { __disabled: 'No SSR support' };
else

(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down
6 changes: 5 additions & 1 deletion build/iscroll-probe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2017 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
if (typeof window == 'undefined' && typeof module != 'undefined')
module.exports = { __disabled: 'No SSR support' };
else

(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down
6 changes: 5 additions & 1 deletion build/iscroll-zoom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2017 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
if (typeof window == 'undefined' && typeof module != 'undefined')
module.exports = { __disabled: 'No SSR support' };
else

(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down
6 changes: 5 additions & 1 deletion build/iscroll.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2017 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
if (typeof window == 'undefined' && typeof module != 'undefined')
module.exports = { __disabled: 'No SSR support' };
else

(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down
4 changes: 4 additions & 0 deletions src/open.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
if (typeof window == 'undefined' && typeof module != 'undefined')
module.exports = { __disabled: 'No SSR support' };
else

(function (window, document, Math) {