New extension pattern

This commit is contained in:
benweet 2013-05-29 01:08:25 +01:00
parent a7a5defbc7
commit 55b1250279
4 changed files with 10 additions and 5 deletions

View File

@ -356,6 +356,10 @@ div.dropdown-menu i {
background-position: -384px -168px; background-position: -384px -168px;
} }
.icon-stat {
background-position: -1px -168px;
}
.icon-numbered-list { .icon-numbered-list {
background-position: -408px -168px; background-position: -408px -168px;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -6,6 +6,7 @@ define( [
"extensions/button-sync", "extensions/button-sync",
"extensions/button-publish", "extensions/button-publish",
"extensions/button-share", "extensions/button-share",
"extensions/button-stat",
"extensions/document-selector", "extensions/document-selector",
"extensions/document-title", "extensions/document-title",
"extensions/manage-publication", "extensions/manage-publication",

View File

@ -17,13 +17,13 @@ define([
'</button>', '</button>',
'<div id="link-container" class="dropdown-menu pull-right">', '<div id="link-container" class="dropdown-menu pull-right">',
'<div class="link-list"></div>', '<div class="link-list"></div>',
'<p class="no-link">To share this document you need first to <a', '<p class="no-link">To share this document you need first to ',
'href="#" class="action-publish-gist">publish it as a Gist</a> in', '<a href="#" class="action-publish-gist">publish it as a Gist</a>',
'Markdown format.', ' in Markdown format.',
'</p>', '</p>',
'<blockquote class="muted">', '<blockquote class="muted">',
'<b>NOTE:</b> You can open any URL within StackEdit using <a', '<b>NOTE:</b> You can open any URL within StackEdit using ',
'href="viewer.html?url=https://raw.github.com/benweet/stackedit/master/README.md"', '<a href="viewer.html?url=https://raw.github.com/benweet/stackedit/master/README.md"',
'title="Sharing example">viewer.html?url=...</a>', 'title="Sharing example">viewer.html?url=...</a>',
'</blockquote>', '</blockquote>',
'</div>'].join("") '</div>'].join("")