'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var env = require('../core/env.js');

var requestAnimationFrame;
requestAnimationFrame = (env.default.hasGlobalWindow
    && ((window.requestAnimationFrame && window.requestAnimationFrame.bind(window))
        || (window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window))
        || window.mozRequestAnimationFrame
        || window.webkitRequestAnimationFrame)) || function (func) {
    return setTimeout(func, 16);
};
var requestAnimationFrame$1 = requestAnimationFrame;

exports.default = requestAnimationFrame$1;
