Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Removed the unneeded Strings in the contributors template
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMalbran committed Feb 26, 2013
1 parent d82c112 commit 0365cb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/help/HelpCommandHandlers.js
Expand Up @@ -141,8 +141,7 @@ define(function (require, exports, module) {
var $dlg = $(".about-dialog.instance");
var $contributors = $dlg.find(".about-contributors");

templateVars = $.extend({CONTRIBUTORS: contributorsInfo}, Strings);
$contributors.html(Mustache.render(ContributorsTemplate, templateVars));
$contributors.html(Mustache.render(ContributorsTemplate, {CONTRIBUTORS: contributorsInfo}));

// This is used to create an opacity transition when each image is loaded
$dlg.find("img").one("load", function () {
Expand All @@ -155,7 +154,6 @@ define(function (require, exports, module) {

$dlg.on("click", "img", function (e) {
var url = $(e.target).data("url");

if (url) {
// Make sure the URL has a domain that we know about
if (/(github\.com)$/i.test(PathUtils.parseUrl(url).hostname)) {
Expand Down

0 comments on commit 0365cb0

Please sign in to comment.