mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-23 17:58:45 +00:00
Add utility method for getting ordered attributes
This commit is contained in:
@@ -48,7 +48,7 @@ LetWidget.prototype.computeAttributes = function() {
|
||||
var changedAttributes = {},
|
||||
self = this;
|
||||
this.currentValueFor = Object.create(null);
|
||||
$tw.utils.each(this.parseTreeNode.orderedAttributes,function(attribute,index) {
|
||||
$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(this.parseTreeNode),function(attribute) {
|
||||
var value = self.computeAttribute(attribute),
|
||||
name = attribute.name;
|
||||
if(name.charAt(0) !== "$") {
|
||||
|
||||
Reference in New Issue
Block a user