From 2bb5d038d7c9a99a9589544baf83c8b215bc324b Mon Sep 17 00:00:00 2001 From: Borja Lafuente Romero Date: Wed, 8 Feb 2017 21:28:28 +0100 Subject: [PATCH] Fixed quickstart snippet for Camden and Dalston release trains --- js/projectDocumentationWidget.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/projectDocumentationWidget.js b/js/projectDocumentationWidget.js index f948b82..187743a 100644 --- a/js/projectDocumentationWidget.js +++ b/js/projectDocumentationWidget.js @@ -150,8 +150,10 @@ Spring.SnippetView = Backbone.View.extend({ }, render: function () { - - this.model.bootVersion = this.model.version.indexOf("Camden")!=-1 ? "1.4.0.RELEASE" : (this.model.version.indexOf("Brixton")!=-1 ? "1.3.7.RELEASE" : "1.2.8.RELEASE"); + this.model.bootVersion = this.model.version.indexOf("Dalston")!=-1 ? "1.5.0.BUILD-SNAPSHOT" : + this.model.version.indexOf("Camden")!=-1 ? "1.4.4.RELEASE" : + this.model.version.indexOf("Brixton")!=-1 ? "1.3.8.RELEASE" : + "1.2.8.RELEASE"; console.log(JSON.stringify(this.model)) var html = $(this.combinedTemplate(this.model)); this.$el.html(html);