<commit_before>"use strinct";
define(["./utils","./mokum_rt"],function(utils, RtUpdate){
//utils._Promise = Promise;
return function(config){
	function get(token, url, pagenum){
		var skip =  (typeof pagenum !== "undefined") ?("?page=" + pagenum):"";
		return 	utils.xhrReq( {
				"url":config.serverURL +url+".json" + skip
				,"headers":{"X-API-Token":token}
			}
		);
	}
	function getAllSubs(token, username){<commit_msg>Fix first page request to mokum<commit_after>"use strinct";
define(["./utils","./mokum_rt"],function(utils, RtUpdate){
//utils._Promise = Promise;
return function(config){
	function get(token, url, pagenum){
		var skip =((typeof pagenum !== "undefined")&& (pagenum != 1)) ?("?page=" + pagenum):"";
		return 	utils.xhrReq( {
				"url":config.serverURL +url+".json" + skip
				,"headers":{"X-API-Token":token}
			}
		);
	}
	function getAllSubs(token, username){
{'fraction_non_alphanumeric': 0.20838052095130238, 'fraction_numerical': 0.0011325028312570782, 'mean_word_length': 5.01360544217687, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5636082', 'n_tokens_mistral': 344, 'n_tokens_neox': 316, 'n_words': 62}