Kaynağa Gözat

Merge branch 'gh-pages' of https://github.com/spring-projects/gh-pages into gh-pages

Rob Winch 8 yıl önce
ebeveyn
işleme
bcdbbb4f24
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      js/projectDocumentationWidget.js

+ 1 - 1
js/projectDocumentationWidget.js

@@ -95,7 +95,7 @@ Spring.SnippetView = Backbone.View.extend({
     this.combinedTemplate = _.template(
     	"<div class=\"highlight\"><pre><code>" +
         downloadTemplate.find("code:first").html() +
-        "{@ if (repository) { @}" +
+        "{@ if (typeof(repository) != \"undefined\") { @}" +
         repositoryTemplate.find("code:first").html() +
         "{@ } @}" +
         "</code></pre></div>"