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/notes/notes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugin/notes/notes.js') diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js index 874e66d..54dcf31 100644 --- a/plugin/notes/notes.js +++ b/plugin/notes/notes.js @@ -168,8 +168,7 @@ var RevealNotes = (function() { } - // lofi xbrowser Promise.resolve() - return { then: function( resolve ) { resolve(); }}; + return Promise.resolve(); }, -- cgit v1.2.3