Comparing version 0.2.0 to 0.2.1
{ | ||
"name":"law", | ||
"description":"Tools to create policy and validations for services.", | ||
"version":"0.2.0", | ||
"version":"0.2.1", | ||
"homepage":"http://github.com/TorchlightSoftware/law", | ||
@@ -6,0 +6,0 @@ "repository":"git://github.com/TorchlightSoftware/law.git", |
@@ -119,3 +119,3 @@ # Law | ||
law.create services, jargon, policy, resolvers | ||
law.create {services, jargon, policy, resolvers} | ||
``` | ||
@@ -135,3 +135,3 @@ | ||
```coffee-script | ||
#> console.log law.print services | ||
#> console.log law.printFilters services | ||
@@ -163,3 +163,3 @@ { dashboard: [ 'filters/isLoggedIn', 'filters/setIsOnline', 'dashboard' ], | ||
connect = require 'connect' | ||
{create, print} = require 'law' | ||
{load, create, printFilters} = require 'law' | ||
@@ -171,4 +171,5 @@ # files from the sample app | ||
services = create serviceLocation, argTypes, policy | ||
console.log "I am the law:", print services | ||
services = load serviceLocation | ||
services = create {services, jargon, policy} | ||
console.log "I am the law:", printFilters services | ||
``` | ||
@@ -175,0 +176,0 @@ |
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
47133
238
342