قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 23:17:46 +00:00

* update npm packages to latest * fix javascript path location * update screenshots * Add node_modules for users that do not have npm insalled but use git to deploy. * fix release checklist test * Add old chroma-js + some files missing from node_module. * remove npm install * fix .travis.yml * update expected screenshots * update submodule Co-authored-by: sgiehl <stefan@matomo.org>
20 خطوط
292 B
CoffeeScript
Vendored
20 خطوط
292 B
CoffeeScript
Vendored
require 'es6-shim'
|
|
vows = require 'vows'
|
|
assert = require 'assert'
|
|
chroma = require '../chroma'
|
|
|
|
|
|
|
|
s = chroma.scale('RdYlGn')
|
|
.mode('lab')
|
|
.domain([0,100000], 10)
|
|
|
|
t0 = new Date().getTime()
|
|
|
|
for i in [1..100000]
|
|
s(i).hex()
|
|
|
|
t1 = new Date().getTime()
|
|
|
|
console.log (t1 - t0) + "ms"
|