Dropped file extension for renderer in raptor-taglib.json

This commit is contained in:
Patrick Steele-Idem 2014-04-14 14:35:36 -06:00
parent a00fe1168c
commit ca31872d7a

View File

@ -998,7 +998,7 @@ A tag renderer should be mapped to a custom tag by creating a `raptor-taglib.jso
{ {
"tags": { "tags": {
"my-hello": { "my-hello": {
"renderer": "./hello-renderer.js", "renderer": "./hello-renderer",
"attributes": { "attributes": {
"name": "string" "name": "string"
} }
@ -1015,13 +1015,13 @@ Tags can be defined by adding a `"tags"` property to your `raptor-taglib.json`:
{ {
"tags": { "tags": {
"my-hello": { "my-hello": {
"renderer": "./hello-renderer.js", "renderer": "./hello-renderer",
"attributes": { "attributes": {
"name": "string" "name": "string"
} }
}, },
"my-foo": { "my-foo": {
"renderer": "./foo-renderer.js", "renderer": "./foo-renderer",
"attributes": { "attributes": {
"*": "string" "*": "string"
} }
@ -1122,11 +1122,11 @@ Raptor Templates supports this by leveraging JavaScript closures in the compiled
{ {
"tags": { "tags": {
"ui-tabs": { "ui-tabs": {
"renderer": "./tabs-tag.js", "renderer": "./tabs-tag",
"var": "tabs" "var": "tabs"
}, },
"ui-tab": { "ui-tab": {
"renderer": "./tab-tag.js", "renderer": "./tab-tag",
"import-var": { "import-var": {
"tabs": "tabs" "tabs": "tabs"
}, },