From 5301a9ea03a2c5abe857105acbc224c532a8c0e8 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 14 Mar 2019 13:05:01 +0100 Subject: more forgiving code highlight line number format, add Promise polyfill --- plugin/zoom-js/zoom.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugin/zoom-js') diff --git a/plugin/zoom-js/zoom.js b/plugin/zoom-js/zoom.js index 1a731d3..031514d 100644 --- a/plugin/zoom-js/zoom.js +++ b/plugin/zoom-js/zoom.js @@ -22,8 +22,7 @@ var RevealZoom = (function(){ } } ); - // lofi xbrowser Promise.resolve() - return { then: function( resolve ) { resolve(); }}; + return Promise.resolve(); } } -- cgit v1.2.3