Fixed quickstart snippet for Camden and Dalston release trains

This commit is contained in:
Borja Lafuente Romero
2017-02-08 21:28:28 +01:00
parent 993ce253e5
commit 2bb5d038d7

View File

@@ -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);