Skip to content

Commit

Permalink
v0.6.0 using external web server for detailed info on extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Bardanov committed Oct 24, 2014
1 parent 4decca9 commit ac8597c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion extension/locale/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ define(function (require, exports, module){

//0.5.4
colorDark: 'dark',
colorLight: 'light'
colorLight: 'light',

//0.6.0
click_for_more: 'Click to learn more.'
}
});
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Extensions Rating",
"description": "Shows extension's downloads count(daily, overall, average and per version) and GitHub stats(stars and forks). Find most usable and popular extensions for Brackets via badges system! Sort extensions and find themes!",
"homepage": "https://github.com/dnbard/brackets-extension-rating",
"version": "0.5.4",
"version": "0.6.0",
"author": "Alex Bardanov <[email protected]>",
"license": "MIT",
"engines": {
Expand Down
8 changes: 5 additions & 3 deletions extension/services/mutation.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ define(function (require, exports, module){
function mutateExistingExtensions(targets){
if (targets.length === 0) return;

$('#registry, #installed, #themes').click(function(event){
//No use for click event anymore, since we have a separate website for it
/*$('#registry, #installed, #themes').click(function(event){
var $t = $(event.target),
$parent = $(event.currentTarget);
Expand All @@ -97,7 +98,7 @@ define(function (require, exports, module){
.after(insert);
}
}
});
});*/

_.each(targets, function(target){
var $t = $(target),
Expand Down Expand Up @@ -128,7 +129,8 @@ define(function (require, exports, module){
stars: stars,
forks: forks,
online: online,
max_users: maxUsers
max_users: maxUsers,
click_for_more: locale.get('click_for_more')
}));

if (registryEntry.authorAvatar){
Expand Down
2 changes: 1 addition & 1 deletion extension/templates/downloads.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="muted ext-version">
<i title="${downloads} ${str_downloads}" class="fa fa-download"></i>
<a title="${str_click_more}" href="#">
<span data-extension-id="${id}" title="${downloads} ${str_downloads}" class="ext-link_more">${downloads}</span>
<a data-extension-id="${id}" href="http://brackets.dnbard.com/extension/${id}" title="${downloads} ${str_downloads}. ${click_for_more}" class="ext-link_more">${downloads}</a>
</a>
<span title="${daily} ${str_daily}" class="ext-daily">(+${daily})</span>
<span class="ext-stars">
Expand Down

0 comments on commit ac8597c

Please sign in to comment.