Update bootVersions in quickstart snippets

This commit is contained in:
Dave Syer
2016-08-24 10:12:42 +01:00
parent fd28702f61
commit 3f8a523ffe

View File

@@ -151,7 +151,7 @@ Spring.SnippetView = Backbone.View.extend({
render: function () {
this.model.bootVersion = this.model.version.indexOf("Brixton")!=-1 ? "1.3.5.RELEASE" : "1.2.8.RELEASE";
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");
console.log(JSON.stringify(this.model))
var html = $(this.combinedTemplate(this.model));
this.$el.html(html);