Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
A bug meant that attempting to use BB.js without including EJS failed,
Browse files Browse the repository at this point in the history
even though EJS is intended to be an optional component (required only
if you wish to do generation)
  • Loading branch information
sankarravi committed Nov 1, 2014
1 parent 46902bb commit 7e693cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "bluebutton",
"version": "0.2.0",
"version": "0.2.1",
"description": "BlueButton.js allows web developers to parse and navigate complex health data with ease.",
"main": [
"build/bluebutton.js"
Expand Down
2 changes: 1 addition & 1 deletion lib/generators.js
Expand Up @@ -15,7 +15,7 @@ var Generators = (function () {
}
}

if (typeof ejs !== undefined) {
if (typeof ejs !== 'undefined') {
/* Filters are automatically available to ejs to be used like "... | hl7Date"
* Helpers are functions that we'll manually pass in to ejs.
* The intended distinction is that a helper gets called with regular function-call syntax
Expand Down
15 changes: 9 additions & 6 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "bluebutton",
"version": "0.2.0",
"version": "0.2.1",
"description": "BlueButton.js helps developers navigate complex health data with ease.",
"keywords": [
"bb",
Expand All @@ -23,14 +23,17 @@
"url": "http://blacktm.com"
},
"contributors": [
{
"name": "Rob Dodson",
"email": "lets.email.rob@gmail.com",
"url": "http://robdodson.me"
},
{
"name": "Ravi Sankar",
"email": "sankarravi+bbjs@gmail.com"
},
{
"name": "Tyler Hayes",
"email": "tyler@thetylerhayes.com"
},
{
"name": "Dmitry Kachaev",
"url": "http://twitter.com/kachok"
}
],
"main": "build/bluebutton.js",
Expand Down

0 comments on commit 7e693cc

Please sign in to comment.