From b576639d90a7cf73f04d2257eef757b2af8d34da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Tue, 10 Jun 2014 11:19:36 +0200 Subject: [PATCH] Add loopback.version back Add `loopback.version` that was accidentaly removed by #308. --- lib/loopback.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/loopback.js b/lib/loopback.js index 12d46314..893f37d2 100644 --- a/lib/loopback.js +++ b/lib/loopback.js @@ -26,6 +26,12 @@ var express = require('express') var loopback = exports = module.exports = createApplication; +/** + * Framework version. + */ + +loopback.version = require('../package.json').version; + /** * Expose mime. */