Home
last modified time | relevance | path

Searched refs:stringify (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/plugin/asciidocjs/node_modules/js-stringify/
DREADME.md1 # js-stringify
5 …us](https://img.shields.io/travis/jadejs/js-stringify/master.svg)](https://travis-ci.org/jadejs/js…
6 …tus](https://img.shields.io/gemnasium/jadejs/js-stringify.svg)](https://gemnasium.com/jadejs/js-st…
7 …![NPM version](https://img.shields.io/npm/v/js-stringify.svg)](https://www.npmjs.org/package/js-st…
11 npm install js-stringify
18 var stringify = require('js-stringify');
20 assert(stringify('foo') === '"foo"');
21 assert(stringify('foo\u2028bar\u2029baz') === '"foo\\u2028bar\\u2029baz"');
22 assert(stringify(new Date('2014-12-19T03:42:00.000Z')) === 'new Date("2014-12-19T03:42:00.000Z")');
23 assert(stringify({foo: 'bar'}) === '{"foo":"bar"}');
[all …]
Dindex.js3 module.exports = stringify;
4 function stringify(obj) { function
6 return 'new Date(' + stringify(obj.toISOString()) + ')';
11 return JSON.stringify(obj)
/plugin/asciidocjs/node_modules/js-stringify/test/
Dindex.js4 var stringify = require('../'); variable
6 assert(stringify('foo') === '"foo"');
7 assert(stringify('foo\u2028bar\u2029baz') === '"foo\\u2028bar\\u2029baz"');
8 assert(stringify(new Date('2014-12-19T03:42:00.000Z')) === 'new Date("2014-12-19T03:42:00.000Z")');
9 assert(stringify({foo: 'bar'}) === '{"foo":"bar"}');
10 assert(stringify(undefined) === 'undefined');
11 assert(stringify(null) === 'null');
13 stringify({val: "</script><script>alert('bad actor')</script>"}) ===
/plugin/asciidocjs/node_modules/pug-attrs/
Dindex.js6 var stringify = require('js-stringify'); variable
49 var str = stringify(runtime.attr(key, toConstant(val), mustEscape, options.terse));
61 buf.push(stringify(key) + ': ' + stringify(val));
65 …ons.runtime('attr') + '("' + key + '", ' + val + ', ' + stringify(mustEscape) + ', ' + stringify(o…
70 buf.push(stringify(key) + ': ' + val);
86 val = stringify(runtime.style(toConstant(val)));
99 stringify(runtime.classes(classes.map(toConstant), classEscaping)),
106 cls = stringify(classEscaping[i] ? runtime.escape(toConstant(cls)) : toConstant(cls));
113 … options.runtime('classes') + '([' + classes.join(',') + '], ' + stringify(classEscaping) + ')',
/plugin/asciidocjs/node_modules/core-js/library/fn/json/
Dstringify.js2 var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); property
3 module.exports = function stringify(it) { // eslint-disable-line no-unused-vars function
4 return $JSON.stringify.apply($JSON, arguments);
Dindex.js2 module.exports = core.JSON || (core.JSON = { stringify: JSON.stringify }); property
/plugin/asciidocjs/node_modules/core-js/fn/json/
Dstringify.js2 var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); property
3 module.exports = function stringify(it) { // eslint-disable-line no-unused-vars function
4 return $JSON.stringify.apply($JSON, arguments);
Dindex.js2 module.exports = core.JSON || (core.JSON = { stringify: JSON.stringify }); property
/plugin/drawio/
Dscript.js116 iframe.contentWindow.postMessage(JSON.stringify({action: 'load',
118 iframe.contentWindow.postMessage(JSON.stringify({action: 'status',
133 iframe.contentWindow.postMessage(JSON.stringify({action: 'load',
149 iframe.contentWindow.postMessage(JSON.stringify({action: 'load',
185 … localStorage.setItem(name, JSON.stringify({lastModified: new Date(), data: imgData}));
219 dr = JSON.stringify({lastModified: new Date(), xml: msg.xml});
238 iframe.contentWindow.postMessage(JSON.stringify({action: 'export',
240 dr = JSON.stringify({lastModified: new Date(), xml: msg.xml});
245 iframe.contentWindow.postMessage(JSON.stringify({action: 'export',
247 dr = JSON.stringify({lastModified: new Date(), xml: msg.xml});
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Util/
DStringUtil.php41 public function stringify($value, $exportObject = true) function in Prophecy\\Util\\StringUtil
48 $stringify = array($this, __FUNCTION__);
50 return '['.implode(', ', array_map(function ($item, $key) use ($stringify) {
52 ' => '.call_user_func($stringify, $item);
/plugin/asciidocjs/node_modules/unxhr/lib/
Drequest.js72 console.log(JSON.stringify(result))
88 console.log(JSON.stringify(result))
90 console.log(JSON.stringify({ error: e }))
95 console.log(JSON.stringify({ error: e }))
/plugin/structstatus/
Dscript.js55 if (set.indexOf(JSON.stringify($self.data('rid'))) === -1) {
88 return [JSON.stringify(set.pop())];
92 return JSON.stringify(entry);
/plugin/tablelayout/script/
Dedittable_plugin.js34 $layoutfield.val(JSON.stringify(layout));
45 $layoutfield.val(JSON.stringify(layout));
62 $layoutfield.val(JSON.stringify(layout));
/plugin/diagramsnet/
Dscript.js32 …iframe.contentWindow.postMessage(JSON.stringify({action: 'load', autosave: 1, xmlpng: result.cont…
48 …iframe.contentWindow.postMessage(JSON.stringify({action: 'export', format: 'xmlpng', xml: xmlData,…
73 …iframe.contentWindow.postMessage(JSON.stringify({action: 'status', message: save_msg, modified: fa…
/plugin/sequencediagram/bower_components/snap.svg/doc/js/
Dprism.js5stringify(JSON.parse(e.data),o);t.hooks.run("before-insert",l);l.element.innerHTML=l.highlightedCo…
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
DLineFormatter.php87 $output = str_replace('%extra.'.$var.'%', $this->stringify($val), $output);
94 $output = str_replace('%context.'.$var.'%', $this->stringify($val), $output);
113 $output = str_replace('%'.$var.'%', $this->stringify($val), $output);
142 public function stringify($value): string function in Monolog\\Formatter\\LineFormatter
/plugin/revealjs/plugin/notes/
Dnotes.js45 notesPopup.postMessage( JSON.stringify( {
72 notesPopup.postMessage( JSON.stringify( {
126 notesPopup.postMessage( JSON.stringify( messageData ), '*' );
/plugin/asciidocjs/node_modules/is-expression/
Dtest.js8 testit(JSON.stringify(src, options), function () {
24 testit(JSON.stringify(src), function () {
/plugin/diagrams/script/
H A DDiagramsEditor.js241 …this.#diagramsEditor.contentWindow.postMessage(JSON.stringify({action: 'load', xml: this.#svg}), '…
248 JSON.stringify({
262 JSON.stringify({
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/bin/
Dextract-props.js24 fs.writeFileSync(ARGS.o, JSON.stringify(output, null, 2), "utf8");
26 console.log("%s", JSON.stringify(output, null, 2));
/plugin/asciidocjs/node_modules/with/node_modules/acorn/bin/
Dgenerate-identifier-regex.js54 console.log("const astralIdentifierStartCodes = " + JSON.stringify(startData.astral));
55 console.log("const astralIdentifierCodes = " + JSON.stringify(contData.astral));
/plugin/asciidocjs/node_modules/babylon/bin/
Dgenerate-identifier-regex.js61 console.log("const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";");
62 console.log("const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";");
/plugin/acmenu/
Dscript.js48 var cookie_value = JSON.stringify(_OPEN_ITEMS);
140 var cookie_value = JSON.stringify(_OPEN_ITEMS);
/plugin/elasticsearch/vendor/ruflin/elastica/src/Multi/
DSearch.php164 $data = JSON::stringify($header)."\n";
165 $data .= JSON::stringify($query->toArray() + $queryOptions)."\n";
/plugin/elasticsearch/vendor/ruflin/elastica/src/Bulk/
DAction.php50 $string = JSON::stringify($this->getActionMetadata(), \JSON_FORCE_OBJECT).Bulk::DELIMITER;
64 $string .= JSON::stringify($source, \JSON_UNESCAPED_UNICODE);

12345678910>>...14