Created
June 13, 2010 21:10
-
-
Save swannodette/437009 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================== Highlights.html | |
<span class="TableContainer"> | |
<span class="HighlightsSummary"></span> | |
<input class="HighlightsInput"></input> | |
<span class="HighlightsColors"> | |
<% (6).times(function(i) { %> | |
<span class="GenericHighlightsColor HighlightsColor<%= i+1 %>"></span> | |
<% }); %> | |
</span> | |
<span class="HighlightsClose"></span> | |
</span> | |
// ================== create DOM from template | |
this.element = this.template("space").toElement(); | |
// ================== attrs.json | |
{ | |
"name": "Highlights", | |
"authors": ["avital", "mushon", "dnolen"], | |
"icon": "Highlights.png", | |
"description": "Highlight text on a webpage.", | |
"tooltip": "Highlight text on a webpage.", | |
"tagline": "markup text on the page", | |
"version": "0.1", | |
"ui" : {"space": {"html": "Highlights.html", // will create a template called space | |
"css": "Highlights.css"}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment