Skip to content

Commit

Permalink
v0.0.6
Browse files Browse the repository at this point in the history
* Added check for define.amd
  • Loading branch information
doug-martin committed Jun 5, 2013
1 parent 12575cd commit 6c48c0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
.idea
*.iml
node_modules
4 changes: 2 additions & 2 deletions array-extended.min.js

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

2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -678,7 +678,7 @@
if ("undefined" !== typeof module && module.exports) {
module.exports = defineArray(require("extended"), require("is-extended"));
}
} else if ("function" === typeof define) {
} else if ("function" === typeof define && define.amd) {
define(["extended", "is-extended"], function (extended, is) {
return defineArray(extended, is);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "array-extended",
"version": "0.0.5",
"version": "0.0.6",
"description": "Additional array extensions with a chainable api",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 6c48c0f

Please sign in to comment.