Skip to content

Commit

Permalink
More refactor code & Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
syoichi committed Jan 27, 2014
1 parent 1ee9b37 commit 3b1c4bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpi/chrome/content/library/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,7 @@ Models.register(update({
UPLOAD_API_URL : 'https://upload.twitter.com/i/tweet/create_with_media.iframe',
STATUS_MAX_LENGTH : 140,
OPTIONS : {
// for twttr.txt.getTweetLength()
short_url_length : 22,
short_url_length_https : 23
},
Expand Down Expand Up @@ -3046,7 +3047,7 @@ Models.register(update({
form = { item : entry.title };

if (duplicated) {
form = update(form, {
update(form, {
description : entry.bookmarked_data.comment,
tags : entry.bookmarked_data.tags,
private : entry.bookmarked_data.private
Expand Down

0 comments on commit 3b1c4bf

Please sign in to comment.