Details
-
New Feature
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Kromeriz 103, Kromeriz 104, Kromeriz 105
-
2
Description
See MAGNOLIA-7077.
Example usage (cmsfn must be registered as a component in the JS module):
var MyModel = function () { ... this.something = function() { cmsfn.dump(this); } }
Example output of JS objects:
JavaScript Function:
[object Object] (JavaScript Function)
JavaScript Array:
JavaScript Array (3) 0 = "a" (String) 1 = "b" (String) 2 = "c" (String)
JavaScript Object:
JavaScript Object (4)
a = "foo" (String)
b = 11 (Integer)
c = JavaScript Array (3)
0 = 1 (Integer)
1 = 2 (Integer)
2 = 3 (Integer)
d = [object Object] (JavaScript Function)
Checklists
Acceptance criteria
Attachments
Issue Links
- depends upon
-
MAGNOLIA-7077 Add tool to get the data structure of an object in templates
-
- Closed
-