![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Async file and script loader that works both in the browser and in nodejs / io.js.
Promises library that supports queues of file requests.
For nodejs versions 0.0.10 - 0.0.12:
npm install orgy@2.0.7
npm install orgy
<script src="/dist/orgy.min.js"></script>
<script>
var def = Orgy.deferred();
...
</script>
<script src="/dist/orgy.bundle.min.js"></script>
<script>
var Orgy = require("orgy");
var def = Orgy.deferred();
...
</script>
const Orgy = require("orgy");
const q = Orgy.queue([
{
type : "json",
url : "data/data1.json"
},
{
type : "json",
url : "data/data2.json"
},
{
type : "css",
url : "data/sample.css"
}
],{
//Set an id for the queue, so can reference it in other contexts (optional).
id : "q1"
});
//Done can be called async and out of order.
q.done(function(r,deferred,last){
console.log(last); // 2
});
// If a then function returns a value, that value is passed down to any
// subsequent then() or done() functions.
q.then(function(r){
console.log(r); //Dependency values.
return 1;
});
q.then(function(r,deferred,last){
console.log(last); // 1
return 2;
});
// To reference the queue above outside of the local scope:
const Orgy = require("orgy");
const q = Orgy.get("q1");
Handles a variety of dependency types and automatically converts them into promises.
Queues can be held back from settling after their dependencies have resolved by a resolver method.
When then() returns a value that value is passed down the execution chain.
When then() returns an unsettled instance (deferred/queue), further execution on the callback chain is halted until that instance resolves. The deferred is then passed to the next tick of the callback chain, where its return value can be accessed.
grunt t
Here.
FAQs
Async file and script loader that works both in the browser and in nodejs / io.js.
We found that orgy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.