Skip to content

Instantly share code, notes, and snippets.

@dimaip
Created April 8, 2016 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimaip/79dc8b13638b9d865b699d50fd1515bd to your computer and use it in GitHub Desktop.
Save dimaip/79dc8b13638b9d865b699d50fd1515bd to your computer and use it in GitHub Desktop.
Imagine you have a nodetype named `Your:NodeType` and a node of that nodetype, with property1 set to `123456`.
<div>
Quess what's in here: {property1}
</div>
prototype(Your:BaseObject) {
property1 = 'hello world'
}
prototype(Your:NodeType) < prototype(Your:BaseObject)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment