Skip to content

Instantly share code, notes, and snippets.

@garlicnation
Created March 2, 2015 21:00
Show Gist options
  • Save garlicnation/0dfed22e72f92ccf8206 to your computer and use it in GitHub Desktop.
Save garlicnation/0dfed22e72f92ccf8206 to your computer and use it in GitHub Desktop.
Designer2 deep metadata.
{
"modules": [],
"elements": [
{
"properties": [
{
"name": "configure",
"type": "Function"
},
{
"name": "ready",
"type": "Function"
},
{
"name": "setDocument",
"desc": "*\n * @returns {Promise<Document>} The modified document with an injected\n * <script> tag for the message handler.\n ",
"type": "Function"
},
{
"name": "_getFrame",
"type": "Function"
},
{
"name": "dispatchCommand",
"type": "Function"
},
{
"name": "_generateToken",
"type": "Function"
},
{
"name": "_onMessage",
"type": "Function"
},
{
"name": "_onCommand",
"type": "Function"
},
{
"name": "_onSelectionBoundsChange",
"type": "Function"
},
{
"name": "_onNewSelection",
"type": "Function"
},
{
"name": "_onHoverElement",
"type": "Function"
},
{
"name": "_hideHover",
"type": "Function"
},
{
"name": "_onSelectionResize",
"type": "Function"
},
{
"name": "_onMouseDown",
"type": "Function"
},
{
"name": "_onMouseUp",
"type": "Function"
},
{
"name": "_onSelectionClick",
"type": "Function"
},
{
"name": "_sendSelectElement",
"type": "Function"
}
],
"is": "designer-stage"
}
],
"url": "http://localhost:8001/designer2/elements/designer-stage/designer-stage.html",
"external_scripts": [],
"imports": [
{
"elements": [
{
"properties": [
{
"name": "created",
"type": "Function"
},
{
"name": "ready",
"type": "Function"
},
{
"name": "listeners"
},
{
"name": "_onMouseDown",
"type": "Function"
},
{
"name": "_boundsDown",
"desc": " called for mousedown on the main bounding box div",
"type": "Function"
},
{
"name": "_resizeHandleDown",
"desc": " called for mousedown on one of the resize handle divs",
"type": "Function"
},
{
"name": "_startDrag",
"type": "Function"
}
],
"is": "designer-selection"
}
],
"modules": [],
"url": "http://localhost:8001/designer2/elements/designer-selection/designer-selection.html",
"external_scripts": [
"ResizeDirection.js"
],
"imports": [
{}
]
},
{
"elements": [],
"modules": [
{
"is": "ParsedHtmlCommandApplier",
"deps": [
"CommandApplier",
"Path",
"parse5_utils",
"Commands"
],
"depAliases": [
"CommandApplier",
"pathLib",
"parse5_utils",
"commands"
],
"properties": [
{
"name": "setAttribute"
},
{
"name": "moveElement"
}
]
},
{
"is": "DomCommandApplier",
"deps": [
"CommandApplier",
"Path",
"Commands"
],
"depAliases": [
"CommandApplier",
"pathLib",
"commands"
],
"properties": [
{
"name": "setAttribute"
},
{
"name": "moveElement"
}
]
},
{
"is": "CommandApplier",
"properties": [
{
"name": "apply",
"type": "function"
},
{
"name": "undo",
"type": "function"
}
]
},
{
"is": "Commands",
"properties": [
{
"name": "InsertPosition"
},
{
"name": "setAttribute",
"type": "function"
},
{
"name": "setCssProperties",
"type": "function"
},
{
"name": "moveElement",
"type": "function"
}
]
}
],
"url": "http://localhost:8001/designer2/src/commands/commands.html",
"external_scripts": [
"ParsedHtmlCommandApplier.js",
"DomCommandApplier.js",
"CommandApplier.js",
"commands.js"
],
"imports": [
{
"modules": [
{
"is": "Path",
"deps": [
"Parse5",
"dom-utils"
],
"depAliases": [
"Parse5",
"domUtils"
],
"properties": [
{
"name": "getNodePath"
},
{
"name": "getNodeFromPath"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/designer2/src/path/path.html",
"external_scripts": [
"path.js"
],
"imports": [
{
"modules": [
{
"is": "dom-utils",
"deps": [],
"properties": [
{
"name": "isDescendant"
},
{
"name": "getDocumentElement"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/designer2/src/dom-utils/dom-utils.html",
"external_scripts": [
"dom-utils.js"
]
}
]
},
{
"elements": [],
"modules": [
{
"is": "parse5_utils",
"properties": [
{
"name": "name"
},
{
"name": "value"
}
]
},
{
"is": "Parse5"
}
],
"url": "http://localhost:8001/designer2/src/parse5/parse5.html",
"external_scripts": [
"parse5_utils.js",
"parse5.js"
]
}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/polymer.html",
"external_scripts": [],
"imports": [
{
"modules": [],
"elements": [
{
"properties": [
{
"name": "extends"
},
{
"published": true,
"name": "items",
"type": "Array"
},
{
"published": true,
"name": "sort",
"type": "Function"
},
{
"published": true,
"name": "filter",
"type": "Function"
},
{
"published": true,
"name": "observe",
"type": "String"
},
{
"published": true,
"name": "delay",
"type": "Number"
},
{
"name": "mixins"
},
{
"name": "bind"
},
{
"name": "created",
"type": "Function"
},
{
"name": "attached",
"type": "Function"
},
{
"name": "_sortChanged",
"type": "Function"
},
{
"name": "_filterChanged",
"type": "Function"
},
{
"name": "_observeChanged",
"type": "Function"
},
{
"name": "_itemsChanged",
"type": "Function"
},
{
"name": "_checkObservedPaths",
"type": "Function"
},
{
"name": "_observeCollection",
"type": "Function"
},
{
"name": "_unobserveCollection",
"type": "Function"
},
{
"name": "render",
"type": "Function"
},
{
"name": "_render",
"type": "Function"
},
{
"name": "_sortAndFilter",
"type": "Function"
},
{
"name": "_applySplicesViewSort",
"type": "Function"
},
{
"name": "_insertRowIntoViewSort",
"type": "Function"
},
{
"name": "_applySplicesArraySort",
"type": "Function"
},
{
"name": "_detachRow",
"type": "Function"
},
{
"name": "_insertRow",
"type": "Function"
},
{
"name": "_generateRow",
"type": "Function"
},
{
"name": "_notifyDelegatePath",
"type": "Function"
},
{
"name": "_notifyElement",
"type": "Function"
},
{
"name": "itemForElement",
"type": "Function"
},
{
"name": "keyForElement",
"type": "Function"
},
{
"name": "indexForElement",
"type": "Function"
}
],
"is": "x-repeat"
}
],
"url": "http://localhost:8001/polymer/src/lib/template/x-repeat.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "Collection",
"deps": [
"Base",
"ArrayObserve",
"Debounce"
],
"depAliases": [
"Base",
"ArrayObserve",
"Debounce"
],
"properties": [
{
"name": "initMap",
"type": "function"
},
{
"name": "add",
"type": "function"
},
{
"name": "removeKey",
"type": "function"
},
{
"name": "remove",
"type": "function"
},
{
"name": "notify",
"type": "function"
},
{
"name": "observe",
"type": "function"
},
{
"name": "unobserve",
"type": "function"
},
{
"name": "getKey",
"type": "function"
},
{
"name": "getKeys",
"type": "function"
},
{
"name": "setItem",
"type": "function"
},
{
"name": "getItem",
"type": "function"
},
{
"name": "getItems",
"type": "function"
},
{
"name": "applySplices",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/collection.html",
"external_scripts": [],
"imports": [
{},
{}
]
},
{
"modules": [
{
"is": "ArrayObserve",
"deps": [],
"properties": [
{
"name": "push"
},
{
"name": "pop"
},
{
"name": "splice"
},
{
"name": "shift"
},
{
"name": "unshift"
},
{
"name": "sort"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/array-observe.html",
"external_scripts": [],
"imports": [
{}
]
},
{
"modules": [
{
"is": "Templatizer",
"deps": [
"Base",
"Annotations"
],
"depAliases": [
"Base",
"Annotations"
],
"properties": [
{
"name": "templatize",
"type": "function"
},
{
"name": "customPrepAnnotations",
"type": "function"
},
{
"name": "_notifyPathImpl",
"type": "function"
},
{
"name": "_constructorImpl",
"type": "function"
},
{
"name": "stamp",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/template/templatizer.html",
"external_scripts": []
}
]
},
{
"modules": [],
"elements": [
{
"properties": [
{
"name": "extends"
},
{
"name": "mixins"
},
{
"name": "ready",
"type": "Function"
}
],
"is": "x-template"
}
],
"url": "http://localhost:8001/polymer/src/lib/template/x-template.html",
"external_scripts": [],
"imports": [
{}
]
},
{
"modules": [],
"elements": [
{
"properties": [
{
"name": "extends"
},
{
"name": "registerFeatures",
"type": "Function"
},
{
"name": "_composeContent",
"type": "Function"
},
{
"name": "initFeatures",
"type": "Function"
}
],
"is": "x-autobind"
}
],
"url": "http://localhost:8001/polymer/src/lib/template/x-autobind.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/notify-path.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/configure.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/effects.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "bind-annotations",
"deps": [
"bind"
],
"depAliases": [
"Bind"
],
"properties": [
{
"name": "addEffects",
"type": "function"
},
{
"name": "_bindAnnotationBinding",
"type": "function"
},
{
"name": "marshalAnnotatedNodes",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/bind/bind-annotations.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/bind/bind-effects.html",
"external_scripts": []
},
{
"modules": [
{
"is": "bind",
"properties": [
{
"name": "prepareModel",
"type": "function"
},
{
"name": "_addAnnotatedListener",
"type": "function"
},
{
"name": "_builders",
"desc": {
"type": "Line",
"value": " the Bind module supports pluggable effect builders",
"range": [
1061,
1114
],
"loc": {
"start": {
"line": 37,
"column": 5
},
"end": {
"line": 37,
"column": 58
}
}
}
},
{
"name": "addBuilder",
"type": "function"
},
{
"name": "addBuilders",
"type": "function"
},
{
"name": "addPropertyEffect",
"type": "function"
},
{
"name": "createBindings",
"type": "function"
},
{
"name": "_sortPropertyEffects",
"type": "function"
},
{
"name": "_buildEffect",
"type": "function"
},
{
"name": "_bindPropertyEffects",
"type": "function"
},
{
"name": "upper",
"type": "function"
},
{
"name": "prepareInstance",
"type": "function"
},
{
"name": "setupBindListeners",
"type": "function"
},
{
"name": "_notifyListener",
"type": "function"
},
{
"name": "_telemetry"
},
{
"name": "_setData",
"type": "function"
},
{
"name": "_clearPath",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/bind/bind.html",
"external_scripts": []
}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/utils.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "Debounce",
"deps": [],
"properties": [
{
"name": "go",
"type": "function"
},
{
"name": "stop",
"type": "function"
},
{
"name": "complete",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/debounce.html",
"external_scripts": []
},
{
"modules": [
{
"is": "Async",
"properties": [
{
"name": "characterData"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/async.html",
"external_scripts": []
}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/events.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/styling.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "Settings",
"properties": [
{
"name": "wantShadow"
},
{
"name": "hasShadow"
},
{
"name": "nativeShadow"
},
{
"name": "useShadow"
},
{
"name": "useNativeShadow"
},
{
"name": "useNativeImports"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/settings.html",
"external_scripts": []
},
{
"modules": [
{
"is": "StyleTransformer",
"deps": [
"StyleUtil"
],
"depAliases": [
"styleUtil"
],
"properties": [
{
"name": "value"
},
{
"name": "stop"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/style-transformer.html",
"external_scripts": [],
"imports": [
{}
]
},
{
"modules": [
{
"is": "ResolveUrl",
"properties": [
{
"name": "resolveCss",
"desc": {
"type": "Line",
"value": " exports",
"range": [
1517,
1527
],
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 14
}
}
}
},
{
"name": "resolveAttrs"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/resolve-url.html",
"external_scripts": []
},
{
"modules": [
{
"is": "StyleUtil",
"deps": [
"CssParse"
],
"depAliases": [
"parser"
],
"properties": [
{
"name": "parser",
"desc": {
"type": "Line",
"value": " exports",
"range": [
1449,
1459
],
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 14
}
}
}
},
{
"name": "applyCss"
},
{
"name": "forEachStyleRule"
},
{
"name": "toCssText"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/style-util.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "CssParse",
"properties": [
{
"name": "start"
},
{
"name": "end"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/css-parse.html",
"external_scripts": []
}
]
}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/standard/annotations.html",
"external_scripts": [],
"imports": [
{},
{
"modules": [
{
"is": "Annotations",
"properties": [
{
"name": "parseAnnotations",
"type": "function"
},
{
"name": "_parseNodeAnnotations",
"type": "function"
},
{
"name": "_parseTextNodeAnnotation",
"type": "function"
},
{
"name": "_parseElementAnnotations",
"type": "function"
},
{
"name": "_parseChildNodesAnnotations",
"type": "function"
},
{
"name": "_parseNodeAttributeAnnotations",
"type": "function"
},
{
"name": "_parseNodeAttributeAnnotation",
"type": "function"
},
{
"name": "dashToCamelCase",
"type": "function"
},
{
"name": "camelToDashCase",
"type": "function"
},
{
"name": "_localSubTree",
"type": "function"
},
{
"name": "findAnnotatedNode",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/annotations/annotations.html",
"external_scripts": [],
"imports": [
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/module.html",
"external_scripts": []
}
]
}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/polymer-mini.html",
"external_scripts": [],
"imports": [
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/mini/shadow.html",
"external_scripts": [],
"imports": [
{}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/mini/content.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "ArraySplice",
"properties": [
{
"name": "index"
},
{
"name": "removed"
},
{
"name": "addedCount"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/array-splice.html",
"external_scripts": []
}
]
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/mini/ready.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/mini/template.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/dom-module.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/polymer-micro.html",
"external_scripts": [],
"imports": [
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/micro/attributes.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/micro/published.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/micro/constructor.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/micro/extends.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/features/micro/mixins.html",
"external_scripts": []
},
{
"modules": [
{
"is": "Polymer",
"deps": [
"Base"
],
"depAliases": [
"Base"
],
"properties": [
{
"name": "prototype"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/polymer.html",
"external_scripts": [],
"imports": [
{
"modules": [
{
"is": "Base",
"properties": [
{
"name": "telemetry"
},
{
"name": "addFeature",
"type": "function"
},
{
"name": "registerCallback",
"type": "function"
},
{
"name": "registered",
"type": "function"
},
{
"name": "createdCallback",
"type": "function"
},
{
"name": "beforeCreated",
"type": "function"
},
{
"name": "created",
"type": "function"
},
{
"name": "afterCreated",
"type": "function"
},
{
"name": "attachedCallback",
"type": "function"
},
{
"name": "attached",
"type": "function"
},
{
"name": "detachedCallback",
"type": "function"
},
{
"name": "detached",
"type": "function"
},
{
"name": "attributeChangedCallback",
"type": "function"
},
{
"name": "attributeChanged",
"type": "function"
},
{
"name": "extend",
"type": "function"
}
]
}
],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/base.html",
"external_scripts": []
},
{
"modules": [],
"elements": [],
"url": "http://localhost:8001/polymer/src/lib/lang.html",
"external_scripts": []
},
{}
]
}
]
}
]
}
]
},
{
"modules": [],
"elements": [
{
"properties": [
{
"published": true,
"name": "href",
"type": "String"
},
{
"name": "bind"
},
{
"name": "created",
"type": "Function"
},
{
"name": "configure",
"type": "Function"
},
{
"name": "load",
"type": "Function"
},
{
"name": "_requestAsset",
"type": "Function"
},
{
"name": "_listen",
"type": "Function"
},
{
"name": "hrefChanged",
"type": "Function"
}
],
"is": "core-asset"
}
],
"url": "http://localhost:8001/core-asset/core-asset.html",
"external_scripts": [],
"imports": [
{}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment