Skip to content

Commit

Permalink
comitting and pushing new patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasak committed Jan 3, 2017
1 parent f9eff8d commit bdb6fcc
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 125 deletions.
224 changes: 111 additions & 113 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.js.map

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions src/fp.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ export const log = (...a) => console.log(...a)

// rAF
export const rAF =
typeof document !== 'undefined' &&
(requestAnimationFrame ||
webkitRequestAnimationFrame ||
mozRequestAnimationFrame) ||
process && process.nextTick ||
!!global.document &&
(global.requestAnimationFrame ||
global.webkitRequestAnimationFrame ||
global.mozRequestAnimationFrame) ||
(cb => setTimeout(cb, 16.6))

// composition
Expand Down
7 changes: 1 addition & 6 deletions src/vdom.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
const rAF =
typeof document !== 'undefined' &&
(requestAnimationFrame ||
webkitRequestAnimationFrame ||
mozRequestAnimationFrame) ||
(cb => setTimeout(cb, 16.6))
import {rAF} from './fp'

// Virtual DOMs
const vdom = () => {
Expand Down

0 comments on commit bdb6fcc

Please sign in to comment.