Hello everyone!

i am kind of a n00b around here, so please bear with me! I am
currently trying to develop my first ubiquity command. For this
command, i am trying to submit things to Digg. I understand that there
is already a digg command, but I am taking this on as part of my
learning process in the hopes that I can do cooler things in the
future.

Below is my code. Can anyone tell me why it isn't working?

CmdUtils.CreateCommand({
  name: "submit-digg",
  execute: function() {
        var url='http://digg.com/submit?phase=2&url=' + window.location +
'&title=' + document.title;
        window.open(url, 'test')
  }
})


Am I completely missing the point? If so whats the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to