Comparing version 0.1.0 to 0.1.1
@@ -413,4 +413,9 @@ // Copyright (C) 2013: | ||
// hack to support phantomJS | ||
if(typeof window !== 'undefined') { | ||
window.DomPromise = Promise; | ||
} | ||
})(this, | ||
(typeof window !== 'undefined') ? window : {}, | ||
this.runningUnderTest||false); |
{ | ||
"name": "jsonld", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -33,3 +33,6 @@ "homepage": "http://github.com/digitalbazaar/jsonld.js", | ||
"devDependencies": { | ||
"chai": "~1.7.0", | ||
"phantomjs": "~1.9.0", | ||
"mocha": "~1.12.0", | ||
"mocha-phantomjs": "~3.1.0", | ||
"visionmedia-jscoverage": "~1.0.0" | ||
@@ -51,4 +54,6 @@ }, | ||
"scripts": { | ||
"test": "make test" | ||
"test-node": "mocha -R list tests/test.js", | ||
"test-browser": "./node_modules/phantomjs/bin/phantomjs tests/test.js", | ||
"test": "mocha -R list tests/test.js" | ||
} | ||
} |
@@ -60,7 +60,7 @@ jsonld.js | ||
./bin/jsonld compact -c "http://w3id.org/payswarm/v1" "http://recipes.payswarm.com/?p=10554" | ||
./bin/jsonld compact -c "https://w3id.org/payswarm/v1" "http://recipes.payswarm.com/?p=10554" | ||
The command above will read in a PaySwarm Asset and Listing in RDFa 1.0 format, | ||
convert it to JSON-LD expanded form, compact it using the | ||
'http://w3id.org/payswarm/v1' context, and dump it out to the console in | ||
'https://w3id.org/payswarm/v1' context, and dump it out to the console in | ||
compacted form. | ||
@@ -67,0 +67,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
311694
5
8755
7