Skip to content

REPL bug caused by dynamicAttributes? #46

@mrkishi

Description

@mrkishi

The REPL's output view is not updated when the selected gist is changed.

This seems to be caused because the compiler generates the following code for the Element:

update: function(changed, root) {
	var codeMirror_changes = {};
	if ('undefined'in changed) {
		codeMirror_changes.code = root.compiled.code;
	}
	if (Object.keys(codeMirror_changes).length) {
		codeMirror.set(codeMirror_changes);
	}
}

Apparently, the dynamicAttributes end up with undefined dependencies for deep object paths.

I'm afraid I haven't been able to dive deep enough to attempt a PR, yet. Sorry! But if you have any directions and feel like this would be a productive first contribution, I can certainly try. 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions