Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
contents can be falsy (empty string). Fixes #32
Browse files Browse the repository at this point in the history
  • Loading branch information
amasad committed May 29, 2014
1 parent 47fee5d commit f60c99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/flo.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function normalizeResource(resource) {
}

assert(resource.resourceURL, 'expecting resourceURL');
assert(resource.contents, 'expecting contents');
assert(resource.contents != null, 'expecting contents');

var ret = {};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fb-flo",
"version": "0.1.0",
"version": "0.1.1",
"description": "Modify running web apps without reloading",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f60c99a

Please sign in to comment.