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/math/math.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugin/math/math.js') diff --git a/plugin/math/math.js b/plugin/math/math.js index a640e1f..b78d120 100755 --- a/plugin/math/math.js +++ b/plugin/math/math.js @@ -84,8 +84,7 @@ var RevealMath = window.RevealMath || (function(){ } ); - // lofi xbrowser Promise.resolve() - return { then: function( resolve ) { resolve(); }}; + return Promise.resolve(); } } -- cgit v1.2.3