-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1346 from opencomponents/add-action-route-support
Add support for Actions
- Loading branch information
Showing
8 changed files
with
10,465 additions
and
7 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
package: { | ||
name: 'required-parameter-component', | ||
version: '1.0.0', | ||
oc: { | ||
container: false, | ||
renderInfo: false, | ||
files: { | ||
template: { | ||
type: 'jade', | ||
hashKey: '8c1fbd954f2b0d8cd5cf11c885fed4805225749f', | ||
src: 'template.js' | ||
}, | ||
dataProvider: { | ||
type: 'node.js', | ||
hashKey: '123457', | ||
src: 'server.js' | ||
} | ||
}, | ||
parameters: { | ||
userId: { | ||
description: 'The id identifying the user', | ||
mandatory: true, | ||
type: 'string' | ||
} | ||
} | ||
} | ||
}, | ||
data: '"use strict";module.exports.data = function(ctx, cb){cb(null, {done:true});};', | ||
view: | ||
'var oc=oc||{};oc.components=oc.components||{},oc.components["8c1fbd954f2b0d8cd5cf11c885fed4805225749f"]' + | ||
'=function(){var o=[];return o.push("<div>hello</div>"),o.join("")};' | ||
}; |
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