diff --git a/index.js b/index.js index 6363e0e..def6860 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ const GlTransitions = require('./glTransitions'); const loadedFonts = []; // See #16 -const checkTransition = (transition) => assert(transition == null || typeof transition === 'object', `Invalid transition ${transition}`); +const checkTransition = (transition) => assert(transition == null || typeof transition === 'object', 'Transition must be an object'); module.exports = async (config = {}) => {