Browse Source

Merge pull request #13 from RobertPrediger/patch-1

Update dash.js
pull/14/head
Brett Langdon 11 years ago
parent
commit
145adfcfc1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/api/dash.js

+ 1
- 1
lib/api/dash.js View File

@ -5,7 +5,7 @@ var validate_dashboard = function(dashboard){
throw new Error('`dashboard` parameter must be an object'); throw new Error('`dashboard` parameter must be an object');
} }
if(dashboard['title'] != 'string'){
if(typeof dashboard['title'] != 'string'){
throw new Error('`dashboard["title"]` must be a string'); throw new Error('`dashboard["title"]` must be a string');
} }


Loading…
Cancel
Save