Created
August 17, 2016 06:10
-
-
Save ryanhinton/03fa1dbab38ea61835ede54cc7b15da0 to your computer and use it in GitHub Desktop.
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
component accessors=true { | |
private function initializeDefaultPropertyValues() { | |
for(local.property in getComponentMetaData('properties').properties) { | |
variables[local.property.name] = listContains('array,struct', local.property.type) ? deserializeJSON(local.property.default) : local.property.default; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment