Created
August 8, 2013 17:11
-
-
Save bsoist/6186593 to your computer and use it in GitHub Desktop.
One of my custom verbs for Fargo.
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
addLink: function() { | |
var link = prompt("Paste here ","").split('==='); | |
var url = link[0]; | |
var title = link[1]; | |
bsoistVerbs.postUnderDate(2); | |
op.insert(title,down); | |
op.attributes.setOne("type","link"); | |
op.attributes.setOne("url",url); | |
op.attributes.setOne("icon","link"); | |
op.attributes.setOne("isFeedItem","true"); | |
op.reorg(right); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment