From 8fdea042583a8676343bf65bf9278cdbe2d44b07 Mon Sep 17 00:00:00 2001 From: Ryc O'Chet Date: Sun, 4 Mar 2018 11:31:10 +0000 Subject: [PATCH] The correct name for the requireJS package is "velocity-animate" Closes #768 --- grunt/options/uglify.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grunt/options/uglify.js b/grunt/options/uglify.js index 0e23b768..8aba56f7 100644 --- a/grunt/options/uglify.js +++ b/grunt/options/uglify.js @@ -15,9 +15,7 @@ module.exports = { banner: `/*! VelocityJS.org (<%= pkg.version %>) (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */ (function(root, factory) { if (typeof define === 'function' && define.amd) { - define('Velocity', [], function() { - return (root['Velocity'] = factory()); - }); + define('velocity-animate', [], factory); } else if (typeof module === 'object' && module.exports) { module.exports = factory(); } else {