Differences From Artifact [86533aa4da]:
- File gc_core/js/jsex_string.js — part of check-in [b08f2ef338] at 2017-08-06 00:44:03 on branch webext2_illusion — [core][js] ajout des ; oubliés et ajustement des ; en trop (commit erroné) (user: IllusionPerdu, size: 1983) [annotate] [blame] [check-ins using] [more...]
To Artifact [34840fe9fe]:
- File gc_core/js/jsex_string.js — part of check-in [b89dc82bc4] at 2017-08-08 19:11:22 on branch webext2_fix — [core] add inline config for JSHint assuming es6 synthax and some global (user: IllusionPerdu, size: 2007) [annotate] [blame] [check-ins using] [more...]
- File js_extension/string.js — part of check-in [66d247e62a] at 2017-12-24 18:52:35 on branch graphspell — [build][js] move JS language core extension to a dedicated folder (user: olr, size: 2007) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 | // String if (String.prototype.grammalecte === undefined) { String.prototype.gl_count = function (sSearch, bOverlapping) { // http://jsperf.com/string-ocurrence-split-vs-match/8 if (sSearch.length <= 0) { return this.length + 1; } | > | 1 2 3 4 5 6 7 8 9 10 | // String /*jslint esversion: 6*/ if (String.prototype.grammalecte === undefined) { String.prototype.gl_count = function (sSearch, bOverlapping) { // http://jsperf.com/string-ocurrence-split-vs-match/8 if (sSearch.length <= 0) { return this.length + 1; } |
︙ | ︙ |