Skip to content

Commit

Permalink
more forgiving code highlight line number format, add Promise polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 14, 2019
1 parent cfc2f9c commit 5301a9e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 2 additions & 0 deletions lib/js/promise.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions plugin/highlight/highlight.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions plugin/math/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ var RevealMath = window.RevealMath || (function(){

} );

// lofi xbrowser Promise.resolve()
return { then: function( resolve ) { resolve(); }};
return Promise.resolve();

}
}
Expand Down
3 changes: 1 addition & 2 deletions plugin/notes/notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ var RevealNotes = (function() {

}

// lofi xbrowser Promise.resolve()
return { then: function( resolve ) { resolve(); }};
return Promise.resolve();

},

Expand Down
3 changes: 1 addition & 2 deletions plugin/zoom-js/zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ var RevealZoom = (function(){
}
} );

// lofi xbrowser Promise.resolve()
return { then: function( resolve ) { resolve(); }};
return Promise.resolve();

}
}
Expand Down

0 comments on commit 5301a9e

Please sign in to comment.