Small fix to UMD wrapper

This commit is contained in:
Dennis Hotson 2014-12-08 10:38:19 +11:00
parent fd785d8b10
commit 6f99308b44
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "Springy", "name": "Springy",
"main": "springy.js", "main": "springy.js",
"version": "2.7.0", "version": "2.7.1",
"homepage": "https://github.com/dhotson/springy", "homepage": "https://github.com/dhotson/springy",
"authors": [ "authors": [
"Dennis Hotson <dennis@99designs.com>" "Dennis Hotson <dennis@99designs.com>"

View File

@ -1,6 +1,6 @@
{ {
"name": "springy", "name": "springy",
"version": "2.7.0", "version": "2.7.1",
"description": "A force directed graph layout algorithm in JavaScript.", "description": "A force directed graph layout algorithm in JavaScript.",
"main": "springy.js", "main": "springy.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
/** /**
* Springy v2.7.0 * Springy v2.7.1
* *
* Copyright (c) 2010-2013 Dennis Hotson * Copyright (c) 2010-2013 Dennis Hotson
* *
@ -27,7 +27,7 @@
(function (root, factory) { (function (root, factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define(['b'], function (b) { define(function () {
return (root.returnExportsGlobal = factory()); return (root.returnExportsGlobal = factory());
}); });
} else if (typeof exports === 'object') { } else if (typeof exports === 'object') {