Skip to content

Commit

Permalink
Add Date.now polyfill for <IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
nnnoel authored and drewnoakes committed Sep 12, 2017
1 parent ad0ea31 commit 4b53c21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smoothie.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@

;(function(exports) {

// Date.now polyfill
Date.now = Date.now || function() { return new Date().getTime(); };

var Util = {
extend: function() {
arguments[0] = arguments[0] || {};
Expand Down

0 comments on commit 4b53c21

Please sign in to comment.