This file contains 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
CmdUtils.CreateCommand({ | |
name: "insert-uml-class", | |
_umlText: function(){ | |
return CmdUtils.getSelection(); | |
}, | |
_umlImageHtml: function() { | |
var msg = '<img src="http://yuml.me/diagram/class/${umlText}" />'; | |
return CmdUtils.renderTemplate( msg, {umlText: this._umlText()} ); |
This file contains 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
CmdUtils.makeSearchCommand({ | |
name: 'epiwiki', | |
url: 'http://www.google.com/cse?cx=008924722976592217197:xk650kh_mvy&ie=UTF-8&sa=Buscar&q={QUERY}', | |
icon: 'http://www.epidataconsulting.com/favicon.ico', | |
license: 'GPL', | |
homepage: "http://www.epidataconsulting.com/", | |
author: { name: "Diego Fernandez", email: "diegof@epidataconsulting.com"}, | |
description: 'Busca terminos en la wiki de EpiData', | |
preview: function(pblock, directObject) { |