This is a developer preview (public beta) module. Releases might lack important features and might have future breaking changes.
This API is still under active development and subject to non-backward compatible changes or removal in any future version. Use of the API is not recommended in production
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
make sure subdir exists |
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
Resources: | |
Stack1: | |
Type: 'AWS::CloudFormation::Stack' | |
Properties: | |
TemplateURL: ... | |
Stack2: | |
Type: 'AWS::CloudFormation::Stack' | |
Properties: | |
TemplateURL: ... | |
DependsOn: |
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
// Simple case, my "app" is just a stack | |
const app = new cdk.App(); | |
new MyStack(app, 'MyFrobulizerConsumer'); | |
//--------------------------------------------------------------------------- | |
// More complex case, my "app" is a subclass of App because it contains multiple | |
// stacks and I can organize them | |
new MyApp('TweetFrobulizer'); |
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
/* lerna.json */ | |
{ | |
"packages": [ | |
"packages/*" | |
], | |
"rejectCycles": "true", | |
"version": "0.1.0" | |
} |
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
/** | |
* Correct version of a wysihtml5 binding for KnockoutJS that is safe for multiple inclusion on a single page | |
*/ | |
ko.bindingHandlers.wysihtml5 = { | |
init: function (element, valueAccessor, allBindingsAccessor, viewModel) { | |
var control = $(element).wysihtml5({ | |
"events": { | |
"change" : function() { | |
var observable = valueAccessor(); | |
observable(control.getValue()); |