forked from mondora/asteroid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed "main" entry in bower.json, fixed AMD and CommonJS definitions …
…to correctly require dependencies
- Loading branch information
FM
committed
May 28, 2015
1 parent
e9f1cca
commit 82504aa
Showing
7 changed files
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"Paolo Scanferla <[email protected]>" | ||
], | ||
"description": "A lightweight and flexible alternative to Meteor's client-side framework", | ||
"main": "dist/asteroid.js", | ||
"main": "dist/asteroid.browser.js", | ||
"moduleType": [ | ||
"amd", | ||
"globals", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
(function (root, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(factory); | ||
define(['ddp.js', 'q'], factory); | ||
} else if (typeof exports === "object") { | ||
module.exports = factory(); | ||
var DDP = require('ddp.js'); | ||
var Q = require('q'); | ||
|
||
module.exports = factory(DDP, Q); | ||
} else { | ||
root.Asteroid = factory(); | ||
root.Asteroid = factory(root.DDP, root.Q); | ||
} | ||
}(this, function () { | ||
}(this, function (DDP, Q) { | ||
|
||
"use strict"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
(function (root, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(factory); | ||
define(['ddp.js', 'q'], factory); | ||
} else if (typeof exports === "object") { | ||
module.exports = factory(); | ||
var DDP = require('ddp.js'); | ||
var Q = require('q'); | ||
|
||
module.exports = factory(DDP, Q); | ||
} else { | ||
root.Asteroid = factory(); | ||
root.Asteroid = factory(root.DDP, root.Q); | ||
} | ||
}(this, function () { | ||
}(this, function (DDP, Q) { | ||
|
||
"use strict"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
(function (root, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(factory); | ||
define(['ddp.js', 'q'], factory); | ||
} else if (typeof exports === "object") { | ||
module.exports = factory(); | ||
var DDP = require('ddp.js'); | ||
var Q = require('q'); | ||
|
||
module.exports = factory(DDP, Q); | ||
} else { | ||
root.Asteroid = factory(); | ||
root.Asteroid = factory(root.DDP, root.Q); | ||
} | ||
}(this, function () { | ||
}(this, function (DDP, Q) { | ||
|
||
"use strict"; |