Opened 14 years ago

Closed 14 years ago

#6224 closed task (fixed)

Editor: cleanup test_CustomPlugin.html example

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

Fix and simplify test_CustomPlugin.html example code.

  • test_CustomPlugin.html code is getting errors (see IE6, it prints "syntax error" in the console, twice)
  • the dialog header and horizontal bar don't show up correctly on IE; for purposes of example, can just remove them (dropDown.title + "<hr>")
  • i18n stuff is not needed for the example (hardcode strings instead)
  • code for URL regex is not needed
  • code for <img> tags is not needed (anywhere "img" appears in the code)
  • further simplifications based on above changes (removing variables, etc.)

Change History (4)

comment:1 Changed 14 years ago by Adam Peller

I'd rather do a different plugin than the image plugin anyway, since that's just duplicating code in the project. Maybe view-source?

comment:2 Changed 14 years ago by Adam Peller

(In [13685]) Replace custom plugin example with something simpler and unique -- toggle html source. Refs #6224

comment:3 Changed 14 years ago by Adam Peller

(In [13686]) Set custom label. Refs #6224

comment:4 Changed 14 years ago by Adam Peller

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.