Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup builder

  • Loading branch information...
commit b133068639a7a084a573913550e0935ef9944289 1 parent 3764f43
@petrjanda authored
Showing with 11 additions and 8 deletions.
  1. +11 −8 lib/viewBuilder.js
View
19 lib/viewBuilder.js
@@ -1,3 +1,6 @@
+/**
+ Module dependencies.
+*/
var util = require('util'),
repo = require('./repository').getInstance(),
View = require('./view'),
@@ -20,14 +23,14 @@ module.exports = ViewBuilder = function(uid, eventNames) {
util.inherits(ViewBuilder, View);
-/*
- * Load the view data from the storage. The most recent snapshot is searched
- * along with events, which are newer, thus should be applied to get most up
- * to date data.
- *
- * @param {Boolean} Let it true if snapshots should be skipped.
- * @param {Function} Callback function to be triggered when ready.
- */
+/**
+ Load the view data from the storage. The most recent snapshot is searched
+ along with events, which are newer, thus should be applied to get most up
+ to date data.
+
+ @param {Boolean} Let it true if snapshots should be skipped.
+ @param {Function} Callback function to be triggered when ready.
+*/
ViewBuilder.prototype.build = function(reload, callback) {
var self = this;
Please sign in to comment.
Something went wrong with that request. Please try again.