This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const {readFileSync} = require('fs'); | |
| const buffer= readFileSync('./rawdata','utf8'); | |
| const inputs = {}; | |
| const grams = { | |
| bi: {}, | |
| tri: {}, | |
| }; | |
| let characterIndex = -1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { | |
| identity, | |
| curry, | |
| debounce | |
| } from 'lib/func'; | |
| import { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const | |
| querystring = require('querystring'), | |
| http = require('http'), | |
| /** | |
| * Converts options and buffer arguments into a proper data object. | |
| * @param {!Object} options Google Closure Compiler options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const | |
| numberOfCPUs = require('os').cpus().length, | |
| cluster = require('cluster'); | |
| let activeCPUS = 0; | |
| function chunk( array, number ) { | |
| const | |
| result = [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react-lite'; | |
| import { | |
| isUndefined, | |
| isString, | |
| isBoolean, | |
| isEqual, | |
| objectFind | |
| } from './functional'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* functional.js */ | |
| /* Type Testing */ | |
| function isNull( x ) { | |
| return x === null; | |
| } | |
| function isUndefined( x ) { | |
| return typeof x === 'undefined'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Store.js */ | |
| function identity( x ) { | |
| return x; | |
| } | |
| function curry2( func, x, y ) { | |
| return function curryInside( z ) { | |
| return func( x, y, z ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const | |
| querystring = require('querystring'), | |
| http = require('http'), | |
| /** | |
| * Converts options and buffer arguments into a proper data object. | |
| * @param {!Object} options Google Closure Compiler options |