Searched refs:jsmin (Results 1 – 16 of 16) sorted by relevance
49 from bench import jsmin as p_01_simple_port66 p_03_slimit_0_8_1.jsmin = _slimit_0_8_1.minify70 p_04_slimit_0_8_1_mangle.jsmin = \79 jsmins.p_05_rjsmin.jsmin = jsmins.p_05_rjsmin._make_jsmin(130 ports = [(item[5:], getattr(jsmins, item).jsmin) for item in ports]139 for _, jsmin in ports:141 outputs.append(jsmin(script))158 for idx, (name, jsmin) in enumerate(ports):178 jsmin(script)
209 jsmin() in jsmin() function289 jsmin(); in main()
43 def jsmin(js): function
98 return _rjsmin.jsmin277 def jsmin(script, keep_bang_comments=False): # pylint: disable = W0621 function307 return jsmin309 jsmin = _make_jsmin() variable441 global jsmin # pylint: disable = W0603442 jsmin = _make_jsmin(python_only=True)443 _sys.stdout.write(jsmin(
24 The minifier is based on the semantics of `jsmin.c by Douglas Crockford`_\.28 same results as the original ``jsmin.c``. It differs in the following ways:44 than the original python port of ``jsmin.c`` by Baruch Even. The speed factor53 .. _jsmin.c by Douglas Crockford: http://www.crockford.com/javascript/jsmin.c107 called jsmin which takes the script as a string and returns the minified111 jsmin.c provides:
10 The minifier is based on the semantics of jsmin.c by Douglas Crockford.11 …er than during a preprocessing step). Usually it produces the same results as the original jsmin.c.
29 bench/jsmin.c30 bench/jsmin.py
216 The minifier is based on the semantics of `jsmin.c by Douglas Crockford`_\.220 same results as the original ``jsmin.c``. It differs in the following ways:236 than the original python port of ``jsmin.c`` by Baruch Even. The speed factor247 .. _jsmin.c by Douglas Crockford: http://www.crockford.com/javascript/jsmin.c
28 feature can be enabled by passing keep_bang_comments=True to the jsmin65 because the original jsmin collapsed them, too.67 *) Updated benchmarks, added slimit and removed jsmin v8 (because it produced79 because the original jsmin ignored that, too.
7 The minifier is based on the semantics of `jsmin.c by Douglas Crockford`_\.11 same results as the original ``jsmin.c``. It differs in the following ways:27 than the original python port of ``jsmin.c`` by Baruch Even. The speed factor38 .. _jsmin.c by Douglas Crockford: http://www.crockford.com/javascript/jsmin.c
3 rjsmin.jsmin rjsmin-module.html#jsmin
21 JS2C_PY := $(generated_sources)/js2c.py $(generated_sources)/jsmin.py
39 JS2C_PY := $(generated_sources)/js2c.py $(generated_sources)/jsmin.py
221 inputs = [ "tools/jsmin.py" ]285 inputs = [ "tools/jsmin.py" ]329 inputs = [ "tools/jsmin.py" ]359 inputs = [ "tools/jsmin.py" ]
36 import jsmin363 jsmin.JavaScriptMinifier().JSMinify