aboutsummaryrefslogtreecommitdiff
path: root/plugin/math
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-03-14 13:05:01 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2019-03-14 13:05:10 +0100
commit5301a9ea03a2c5abe857105acbc224c532a8c0e8 (patch)
treeedffb75f71e54b4a9f38ed3b839ff7c7578bd231 /plugin/math
parentcfc2f9cf9c09be971a70803db49bf0de704cd877 (diff)
downloadperl-software-in-gnu-guix-5301a9ea03a2c5abe857105acbc224c532a8c0e8.tar
perl-software-in-gnu-guix-5301a9ea03a2c5abe857105acbc224c532a8c0e8.tar.gz
more forgiving code highlight line number format, add Promise polyfill
Diffstat (limited to 'plugin/math')
-rwxr-xr-xplugin/math/math.js3
1 files changed, 1 insertions, 2 deletions
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();
}
}