diff --git a/libs/swig_functions.js b/libs/swig_functions.js index 97d524c..8c51e5e 100644 --- a/libs/swig_functions.js +++ b/libs/swig_functions.js @@ -475,6 +475,10 @@ module.exports.swigFunctions = function(swig) { return self.maxPage; }; + var range = function(args) { + return _.range.apply(this, arguments); + }; + var getPageUrl = function(pageNum) { if(pageNum == 1) { return self.paginationBaseUrl; @@ -628,6 +632,7 @@ module.exports.swigFunctions = function(swig) { getCurPage: getCurPage, getMaxPage: getMaxPage, getPageUrl: getPageUrl, + range: range, url: url, getCurrentUrl: getCurrentUrl, getSetting: getSetting, @@ -668,4 +673,4 @@ module.exports.swigFunctions = function(swig) { return this; -}; \ No newline at end of file +};