summaryrefslogtreecommitdiff
path: root/lib/PodcastView.js
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2015-07-31 08:18:10 -0700
committerJesse Morgan <jesse@jesterpm.net>2015-07-31 08:18:10 -0700
commit3c453d2056a067aebb60d13987b4a3a2ea4a9f86 (patch)
treeab008c06a40e837d8866cea117fe1f866bb6235b /lib/PodcastView.js
parentb39efb7fe06593c3d125b5a35f114082f70b69ce (diff)
Added first test.
Diffstat (limited to 'lib/PodcastView.js')
-rw-r--r--lib/PodcastView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PodcastView.js b/lib/PodcastView.js
index 15970cf..1236abd 100644
--- a/lib/PodcastView.js
+++ b/lib/PodcastView.js
@@ -15,10 +15,10 @@ var DDB_VIEWS_TABLE = 'podcast-views';
* template.
* @constructor
*/
-modules.exports = function PodcastView(view) {
+var PodcastView = module.exports = function PodcastView(view) {
for (var property in view) {
if (view.hasOwnProperty(property)) {
- this[property] = source[property];
+ this[property] = view[property];
}
}
};