-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
832dd09
commit c59da8c
Showing
3 changed files
with
6 additions
and
4 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "aurelia-metadata", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Utilities for reading and writing the metadata of JavaScript functions.", | ||
"keywords": [ | ||
"aurelia", | ||
|
@@ -9,7 +9,9 @@ | |
], | ||
"homepage": "http://aurelia.io", | ||
"license": "MIT", | ||
"authors": ["Rob Eisenberg <[email protected]> (http://robeisenberg.com/)"], | ||
"authors": [ | ||
"Rob Eisenberg <[email protected]> (http://robeisenberg.com/)" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/aurelia/metadata" | ||
|
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 +1 @@ | ||
{"project":{},"files":{"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/annotations.js":{"name":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/annotations.js","modules":{},"classes":{},"fors":{"export":1},"namespaces":{}},"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/origin.js":{"name":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/origin.js","modules":{"metadata":1},"classes":{"Origin":1},"fors":{},"namespaces":{}},"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/resource-type.js":{"name":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/resource-type.js","modules":{},"classes":{"ResourceType":1},"fors":{},"namespaces":{}}},"modules":{"metadata":{"name":"metadata","submodules":{},"classes":{"export":1,"Origin":1,"ResourceType":1},"fors":{},"namespaces":{},"tag":"module","file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/resource-type.js","line":1,"description":"Utilities for reading and writing the metadata of JavaScript functions."}},"classes":{"export":{"name":"export","shortname":"export","classitems":[],"plugins":[],"extensions":[],"plugin_for":[],"extension_for":[],"module":"metadata"},"Origin":{"name":"Origin","shortname":"Origin","classitems":[],"plugins":[],"extensions":[],"plugin_for":[],"extension_for":[],"module":"metadata","namespace":"","file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/origin.js","line":15,"description":"A metadata annotation that describes the origin module of the function to which it's attached.","is_constructor":1,"params":[{"name":"moduleId","description":"The origin module id.","type":"String"},{"name":"moduleMember","description":"The name of the export in the origin module.","type":"String"}]},"ResourceType":{"name":"ResourceType","shortname":"ResourceType","classitems":[],"plugins":[],"extensions":[],"plugin_for":[],"extension_for":[],"module":"metadata","namespace":"","file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/resource-type.js","line":1,"description":"An abstract base class used to designate resources which can be loaded and registered in a framework.","is_constructor":1}},"classitems":[{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/annotations.js","line":1,"description":"Searches a function's metadata for an annotation of a particular type.","itemtype":"method","name":"getAnnotation","params":[{"name":"fn","description":"The function whose annotations are being inspected.","type":"Function"},{"name":"annotationType","description":"The annotation type to look for.","type":"Function"}],"return":{"description":"Returns an instance of the specified annotation type if found; otherwise null.","type":"Object"},"class":"export"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/annotations.js","line":36,"description":"Searches a function's metadata for all annotations of a particular type.","itemtype":"method","name":"getAllAnnotations","params":[{"name":"fn","description":"The function whose annotations are being inspected.","type":"Function"},{"name":"annotationType","description":"The annotation type to look for.","type":"Function"}],"return":{"description":"Returns an array of the specified annotation type.","type":"Array"},"class":"export"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/annotations.js","line":71,"description":"Adds metadata to a function.","itemtype":"method","name":"addAnnotation","params":[{"name":"fn","description":"The function being tagged with metadata.","type":"Function"},{"name":"annotation","description":"The annotation instance to add.","type":"Object"}],"class":"export"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/origin.js","line":29,"description":"Get the Origin annotation for the specified function.","itemtype":"method","name":"get","static":1,"params":[{"name":"fn","description":"The function to inspect for Origin metadata.","type":"Function"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"},"class":"Origin","module":"metadata"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/origin.js","line":55,"description":"Set the Origin annotation for the specified function.","itemtype":"method","name":"set","static":1,"params":[{"name":"fn","description":"The function to set the Origin metadata on.","type":"Function"},{"name":"fn","description":"The Origin metadata to store on the function.","type":"Origin"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"},"class":"Origin","module":"metadata"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/resource-type.js","line":8,"description":"Implemented by resource metadata to allow it to self-configure and load dependencies.","itemtype":"method","name":"load","params":[{"name":"container","description":"The dependency injection container to use for service resolution.","type":"Container"},{"name":"target","description":"The target that is decorated by this ResourceType metadata.","type":"Object"}],"return":{"description":"Returns a promise for itself, resolving when all dependent resources are loaded.","type":"Promise"},"class":"ResourceType","module":"metadata"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/lib/resource-type.js","line":20,"description":"Implemented by resources to allow them to register themselved in a resource registry.","itemtype":"method","name":"register","params":[{"name":"registry","description":"The resource registry that this resource needs to be registered in.","type":"ResourceRegistry"},{"name":"name","description":"A possible name override for the resource.","type":"String","optional":true}],"class":"ResourceType","module":"metadata"}],"warnings":[]} | ||
{"project":{},"files":{"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/annotations.js":{"name":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/annotations.js","modules":{},"classes":{},"fors":{"export":1},"namespaces":{}},"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/origin.js":{"name":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/origin.js","modules":{"metadata":1},"classes":{"Origin":1},"fors":{},"namespaces":{}},"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/resource-type.js":{"name":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/resource-type.js","modules":{},"classes":{"ResourceType":1},"fors":{},"namespaces":{}}},"modules":{"metadata":{"name":"metadata","submodules":{},"classes":{"export":1,"Origin":1,"ResourceType":1},"fors":{},"namespaces":{},"tag":"module","file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/resource-type.js","line":1,"description":"Utilities for reading and writing the metadata of JavaScript functions."}},"classes":{"export":{"name":"export","shortname":"export","classitems":[],"plugins":[],"extensions":[],"plugin_for":[],"extension_for":[],"module":"metadata"},"Origin":{"name":"Origin","shortname":"Origin","classitems":[],"plugins":[],"extensions":[],"plugin_for":[],"extension_for":[],"module":"metadata","namespace":"","file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/origin.js","line":15,"description":"A metadata annotation that describes the origin module of the function to which it's attached.","is_constructor":1,"params":[{"name":"moduleId","description":"The origin module id.","type":"String"},{"name":"moduleMember","description":"The name of the export in the origin module.","type":"String"}]},"ResourceType":{"name":"ResourceType","shortname":"ResourceType","classitems":[],"plugins":[],"extensions":[],"plugin_for":[],"extension_for":[],"module":"metadata","namespace":"","file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/resource-type.js","line":1,"description":"An abstract base class used to designate resources which can be loaded and registered in a framework.","is_constructor":1}},"classitems":[{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/annotations.js","line":1,"description":"Searches a function's metadata for an annotation of a particular type.","itemtype":"method","name":"getAnnotation","params":[{"name":"fn","description":"The function whose annotations are being inspected.","type":"Function"},{"name":"annotationType","description":"The annotation type to look for.","type":"Function"}],"return":{"description":"Returns an instance of the specified annotation type if found; otherwise null.","type":"Object"},"class":"export"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/annotations.js","line":36,"description":"Searches a function's metadata for all annotations of a particular type.","itemtype":"method","name":"getAllAnnotations","params":[{"name":"fn","description":"The function whose annotations are being inspected.","type":"Function"},{"name":"annotationType","description":"The annotation type to look for.","type":"Function"}],"return":{"description":"Returns an array of the specified annotation type.","type":"Array"},"class":"export"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/annotations.js","line":71,"description":"Adds metadata to a function.","itemtype":"method","name":"addAnnotation","params":[{"name":"fn","description":"The function being tagged with metadata.","type":"Function"},{"name":"annotation","description":"The annotation instance to add.","type":"Object"}],"class":"export"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/origin.js","line":29,"description":"Get the Origin annotation for the specified function.","itemtype":"method","name":"get","static":1,"params":[{"name":"fn","description":"The function to inspect for Origin metadata.","type":"Function"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"},"class":"Origin","module":"metadata"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/origin.js","line":55,"description":"Set the Origin annotation for the specified function.","itemtype":"method","name":"set","static":1,"params":[{"name":"fn","description":"The function to set the Origin metadata on.","type":"Function"},{"name":"fn","description":"The Origin metadata to store on the function.","type":"Origin"}],"return":{"description":"Returns the Origin metadata.","type":"Origin"},"class":"Origin","module":"metadata"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/resource-type.js","line":8,"description":"Implemented by resource metadata to allow it to self-configure and load dependencies.","itemtype":"method","name":"load","params":[{"name":"container","description":"The dependency injection container to use for service resolution.","type":"Container"},{"name":"target","description":"The target that is decorated by this ResourceType metadata.","type":"Object"}],"return":{"description":"Returns a promise for itself, resolving when all dependent resources are loaded.","type":"Promise"},"class":"ResourceType","module":"metadata"},{"file":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/metadata/src/resource-type.js","line":20,"description":"Implemented by resources to allow them to register themselved in a resource registry.","itemtype":"method","name":"register","params":[{"name":"registry","description":"The resource registry that this resource needs to be registered in.","type":"ResourceRegistry"},{"name":"name","description":"A possible name override for the resource.","type":"String","optional":true}],"class":"ResourceType","module":"metadata"}],"warnings":[]} |
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