Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toJson/fromJson Quick-assist is a little crazy with Polymer elements #16425

Closed
DartBot opened this issue Jan 30, 2014 · 4 comments
Closed

toJson/fromJson Quick-assist is a little crazy with Polymer elements #16425

DartBot opened this issue Jan 30, 2014 · 4 comments
Assignees
Milestone

Comments

@DartBot
Copy link

DartBot commented Jan 30, 2014

This issue was originally filed by @butlermatt


What steps will reproduce the problem?

  1. Create a very simple Polymer element (or use default content)
  2. Use the quick-assist for to/from Json.
  3. Stagger.

What is the expected output? What do you see instead?
Expected:

   Map toJson() { return { "var1": var1, "var2" : var2 } }

Received:

  Map toJson() {
    return {'$' : $, 'ATTRIBUTE_NODE' : ATTRIBUTE_NODE, 'Address' : Address, 'CDATA_SECTION_NODE' : CDATA_SECTION_NODE, 'COMMENT_NODE' : COMMENT_NODE, 'DOCUMENT_FRAGMENT_NODE' : DOCUMENT_FRAGMENT_NODE, 'DOCUMENT_NODE' : DOCUMENT_NODE, 'DOCUMENT_TYPE_NODE' : DOCUMENT_TYPE_NODE, 'ELEMENT_NODE' : ELEMENT_NODE, 'ENTITY_NODE' : ENTITY_NODE, 'ENTITY_REFERENCE_NODE' : ENTITY_REFERENCE_NODE, 'NOTATION_NODE' : NOTATION_NODE, 'PROCESSING_INSTRUCTION_NODE' : PROCESSING_INSTRUCTION_NODE, 'TEXT_NODE' : TEXT_NODE, '_test' : _test, 'abortEvent' : abortEvent, 'beforeCopyEvent' : beforeCopyEvent, 'beforeCutEvent' : beforeCutEvent, 'beforePasteEvent' : beforePasteEvent, 'bindPattern' : bindPattern, 'blurEvent' : blurEvent, 'canPlayEvent' : canPlayEvent, 'canPlayThroughEvent' : canPlayThroughEvent, 'changeEvent' : changeEvent, 'clickEvent' : clickEvent, 'contentEditable' : contentEditable, 'contextMenuEvent' : contextMenuEvent, 'copyEvent' : copyEvent, 'cutEvent' : cutEvent, 'dir' : dir, 'doubleClickEvent' : doubleClickEvent, 'dragEndEvent' : dragEndEvent, 'dragEnterEvent' : dragEnterEvent, 'dragEvent' : dragEvent, 'dragLeaveEvent' : dragLeaveEvent, 'dragOverEvent' : dragOverEvent, 'dragStartEvent' : dragStartEvent, 'draggable' : draggable, 'dropEvent' : dropEvent, 'dropzone' : dropzone, 'durationChangeEvent' : durationChangeEvent, 'emptiedEvent' : emptiedEvent, 'endedEvent' : endedEvent, 'errorEvent' : errorEvent, 'focusEvent' : focusEvent, 'fullscreenChangeEvent' : fullscreenChangeEvent, 'fullscreenErrorEvent' : fullscreenErrorEvent, 'hidden' : hidden, 'inputEvent' : inputEvent, 'invalidEvent' : invalidEvent, 'keyDownEvent' : keyDownEvent, 'keyPressEvent' : keyPressEvent, 'keyUpEvent' : keyUpEvent, 'lang' : lang, 'loadEvent' : loadEvent, 'loadedDataEvent' : loadedDataEvent, 'loadedMetadataEvent' : loadedMetadataEvent, 'mouseDownEvent' : mouseDownEvent, 'mouseEnterEvent' : mouseEnterEvent, 'mouseLeaveEvent' : mouseLeaveEvent, 'mouseMoveEvent' : mouseMoveEvent, 'mouseOutEvent' : mouseOutEvent, 'mouseOverEvent' : mouseOverEvent, 'mouseUpEvent' : mouseUpEvent, 'mouseWheelEvent' : mouseWheelEvent, 'name' : name, 'notes' : notes, 'pasteEvent' : pasteEvent, 'pauseEvent' : pauseEvent, 'playEvent' : playEvent, 'playingEvent' : playingEvent, 'rateChangeEvent' : rateChangeEvent, 'resetEvent' : resetEvent, 'scrollEvent' : scrollEvent, 'searchEvent' : searchEvent, 'seekedEvent' : seekedEvent, 'seekingEvent' : seekingEvent, 'selectEvent' : selectEvent, 'selectStartEvent' : selectStartEvent, 'spellcheck' : spellcheck, 'stalledEvent' : stalledEvent, 'submitEvent' : submitEvent, 'suspendEvent' : suspendEvent, 'syntax' : syntax, 'tabIndex' : tabIndex, 'test' : test, 'timeUpdateEvent' : timeUpdateEvent, 'title' : title, 'touchCancelEvent' : touchCancelEvent, 'touchEndEvent' : touchEndEvent, 'touchEnterEvent' : touchEnterEvent, 'touchLeaveEvent' : touchLeaveEvent, 'touchMoveEvent' : touchMoveEvent, 'touchStartEvent' : touchStartEvent, 'transitionEndEvent' : transitionEndEvent, 'translate' : translate, 'veiledElements' : veiledElements, 'volumeChangeEvent' : volumeChangeEvent, 'waitingEvent' : waitingEvent};
  }

What version of the product are you using? On what operating system?
Dart Editor version 1.2.0.dev_01_00 (DEV)
Dart SDK version 1.2.0-dev.1.0
Linux 64-bit

@floitschG
Copy link
Contributor

Added Area-Editor, Triaged labels.

@clayberg
Copy link

Set owner to @scheglov.
Added this to the 1.2 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

@scheglov
Copy link
Contributor

We decided to pull this feature out.
Sorry for that.

https://codereview.chromium.org/150853003


Added Started label.

@scheglov
Copy link
Contributor

@DartBot DartBot added this to the 1.2 milestone Jan 30, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants