From 0152d0a605399ba3e2b97707053262db6164209f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 27 Jan 2016 12:39:09 +0100 Subject: [PATCH] Fix bug where the top-trigram was not counted Closes GH-28. --- dist/franc-all.js | 2 +- dist/franc-most.js | 2 +- dist/franc.js | 2 +- lib/franc.js | 7 ++++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dist/franc-all.js b/dist/franc-all.js index 4cb5ab9..d888aff 100644 --- a/dist/franc-all.js +++ b/dist/franc-all.js @@ -1 +1 @@ -!function(b,a){typeof exports==='object'&&typeof module!=='undefined'?module.exports=b():typeof define==='function'&&define.amd?define([],b):(typeof window!=='undefined'?a=window:typeof global!=='undefined'?a=global:typeof self!=='undefined'?a=self:a=this,a.franc=b())}(function(){return function a(b,c,e){function f(d,k){if(!c[d]){if(!b[d]){var i=typeof require=='function'&&require;if(!k&&i)return i(d,!0);if(g)return g(d,!0);var j=new Error("Cannot find module '"+d+"'");throw j.code='MODULE_NOT_FOUND',j}var h=c[d]={exports:{}};b[d][0].call(h.exports,function(c){var a=b[d][1][c];return f(a?a:c)},h,h.exports,a,b,c,e)}return c[d].exports}var g=typeof require=='function'&&require;for(var d=0;da&&(a=c,e=b);return[e,a]}function m(g,a){var d=a[0][1],e=g.length*b-d,c=-1,f=a.length;while(++ca&&(a=c,e=b);return[e,a]}function m(g,a){var d=a[0][1],e=g.length*b-d,c=-1,f=a.length;while(++ca&&(a=c,e=b);return[e,a]}function m(g,a){var d=a[0][1],e=g.length*b-d,c=-1,f=a.length;while(++ca&&(a=c,e=b);return[e,a]}function m(g,a){var d=a[0][1],e=g.length*b-d,c=-1,f=a.length;while(++ca&&(a=c,e=b);return[e,a]}function m(g,a){var d=a[0][1],e=g.length*b-d,c=-1,f=a.length;while(++ca&&(a=c,e=b);return[e,a]}function m(g,a){var d=a[0][1],e=g.length*b-d,c=-1,f=a.length;while(++c