Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 235) sorted by relevance

12345678910

/plugin/asciidocjs/node_modules/resolve/lib/
Dasync.js19 var defaultIsFile = function isFile(file, cb) { argument
22 return cb(null, stat.isFile() || stat.isFIFO());
24 if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);
25 return cb(err);
29 var defaultIsDir = function isDirectory(dir, cb) { argument
32 return cb(null, stat.isDirectory());
34 if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);
35 return cb(err);
39 var defaultRealpath = function realpath(x, cb) { argument
41 if (realpathErr && realpathErr.code !== 'ENOENT') cb(realpathErr);
[all …]
/plugin/asciidocjs/node_modules/resolve/test/
Dmock.js17 isFile: function (file, cb) { argument
18 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
20 isDirectory: function (dir, cb) { argument
21 cb(null, !!dirs[path.resolve(dir)]);
23 readFile: function (file, cb) { argument
24 cb(null, files[path.resolve(file)]);
26 realpath: function (file, cb) { argument
27 cb(null, file);
67 isFile: function (file, cb) { argument
68 cb(null, Object.prototype.hasOwnProperty.call(files, file));
[all …]
Dhome_paths_sync.js21 function makeDir(t, dir, cb) { argument
24 cb(err);
29 cb();
34 function makeTempDir(t, dir, cb) { argument
41 cb(err);
44 mv(backup, dir, cb);
46 makeDir(t, dir, cb);
50 makeDir(t, dir, cb);
Dhome_paths.js21 function makeDir(t, dir, cb) { argument
24 cb(err);
29 cb();
34 function makeTempDir(t, dir, cb) { argument
41 cb(err);
44 mv(backup, dir, cb);
46 makeDir(t, dir, cb);
50 makeDir(t, dir, cb);
Dnode_path.js9 var isDir = function (dir, cb) { argument
11 return cb(null, true);
15 return cb(null, stat.isDirectory());
17 if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);
18 return cb(err);
/plugin/asciidocjs/node_modules/glob/
Dglob.js62 function glob (pattern, options, cb) { argument
63 if (typeof options === 'function') cb = options, options = {}
67 if (cb)
72 return new Glob(pattern, options, cb)
117 function Glob (pattern, options, cb) { argument
119 cb = options
124 if (cb)
130 return new Glob(pattern, options, cb)
144 if (typeof cb === 'function') {
145 cb = once(cb)
[all …]
/plugin/webdav/vendor/sabre/event/lib/Loop/
Dfunctions.php8 * @param callable $cb
12 function setTimeout(callable $cb, $timeout) { argument
14 instance()->setTimeout($cb, $timeout);
24 * @param callable $cb
28 function setInterval(callable $cb, $timeout) { argument
30 return instance()->setInterval($cb, $timeout);
49 * @param callable $cb
52 function nextTick(callable $cb) { argument
54 instance()->nextTick($cb);
69 * @param callable $cb
[all …]
DLoop.php23 * @param callable $cb
27 function setTimeout(callable $cb, $timeout) { argument
33 $this->timers[] = [$triggerTime, $cb];
48 [[$triggerTime, $cb]]
52 array_unshift($this->timers, [$triggerTime, $cb]);
67 * @param callable $cb
71 function setInterval(callable $cb, $timeout) { argument
76 $f = function() use ($cb, &$f, $timeout, &$keepGoing) {
78 $cb();
109 * @param callable $cb
[all …]
/plugin/asciidocjs/node_modules/once/
DREADME.md10 function load (file, cb) {
11 cb = once(cb)
13 loader.once('load', cb)
14 loader.once('error', cb)
24 function load (file, cb) {
25 cb = cb.once()
27 loader.once('load', cb)
28 loader.once('error', cb)
43 function load (cb) {
44 cb = once(cb)
[all …]
/plugin/asciidocjs/node_modules/jstransformer/
Dindex.js40 function normalizeFnAsync(result, cb) { argument
49 }).then(tr.normalizeFn).nodeify(cb);
67 function normalizeAsync(result, cb) { argument
76 }).then(tr.normalize).nodeify(cb);
160 Transformer.prototype.compileAsync = function (str, options, cb) { argument
162 …w Error('The Transform "' + this.name + '" does not support compiling plain strings')).nodeify(cb);
165 return tr.normalizeFnAsync(this._tr.compileAsync(str, options), cb);
167 return tr.normalizeFnAsync(this.compile(str, options), cb);
186 Transformer.prototype.compileFileAsync = function (filename, options, cb) { argument
191 return tr.normalizeFnAsync(this._tr.compileFileAsync(filename, options), cb);
[all …]
/plugin/asciidocjs/node_modules/nunjucks/src/
Denvironment.js26 function callbackAsap(cb, err, res) { argument
28 cb(err, res);
38 root: function root(env, context, frame, runtime, cb) {
40 cb(null, '');
42 cb(handleError(e, null, null));
190 _proto.getTemplate = function getTemplate(name, eagerCompile, parentName, ignoreMissing, cb) { argument
199 cb = parentName;
204 cb = eagerCompile;
224 if (cb) {
225 cb(null, tmpl);
[all …]
Dweb-loaders.js34 _proto.getSource = function getSource(name, cb) { argument
40 if (cb) {
41 cb(err.content);
54 if (cb) {
55 cb(null, result);
65 _proto.fetch = function fetch(url, cb) { argument
76 cb(null, ajax.responseText);
78 cb({
/plugin/asciidocjs/node_modules/wrappy/
Dwrappy.js7 function wrappy (fn, cb) { argument
8 if (fn && cb) return wrappy(fn)(cb)
25 var cb = args[args.length-1]
26 if (typeof ret === 'function' && ret !== cb) {
27 Object.keys(cb).forEach(function (k) {
28 ret[k] = cb[k]
/plugin/asciidocjs/node_modules/y18n/build/lib/
Dindex.js19 let cb = function () { }; // start with noop. function
21 cb = args.pop();
22 cb = cb || function () { }; // noop.
34 cb property
38 cb();
47 let cb = function () { }; // start with noop. function
49 cb = args.pop();
69 cb property
73 cb();
119 const cb = work.cb;
[all …]
/plugin/asciidocjs/node_modules/fs.realpath/
Dold.js65 function maybeCallback(cb) { argument
66 return typeof cb === 'function' ? cb : rethrow();
183 exports.realpath = function realpath(p, cache, cb) { argument
184 if (typeof cb !== 'function') {
185 cb = maybeCallback(cache);
193 return process.nextTick(cb.bind(null, null, cache[p]));
222 if (err) return cb(err);
237 return cb(null, p);
262 if (err) return cb(err);
281 if (err) return cb(err);
[all …]
Dindex.js24 function realpath (p, cache, cb) { argument
26 return origRealpath(p, cache, cb)
30 cb = cache
35 old.realpath(p, cache, cb)
37 cb(er, result)
/plugin/asciidocjs/node_modules/async/
Dseq.js63 var cb = args[args.length - 1];
64 if (typeof cb == 'function') {
67 cb = (0, _promiseCallback.promiseCallback)();
74 }, (err, results) => cb(err, ...results));
76 return cb[_promiseCallback.PROMISE_SYMBOL];
/plugin/googleconsentmananger/
Dstyle.less51 #cookie-bar .cb-enable {
54 #cookie-bar .cb-enable:hover {
57 #cookie-bar .cb-disable {
60 #cookie-bar .cb-disable:hover {
63 #cookie-bar .cb-policy {
66 #cookie-bar .cb-policy:hover {
/plugin/googleads/
Dadmin.php111 …$cb = $form->addCheckbox("googleads[dontcountadmin]", $this->getLang('gads_dont_count_admin'))->us…
113 $cb->attr('checked', 'checked');
116 …$cb = $form->addCheckbox("googleads[dontcountmanager]", $this->getLang('gads_dont_count_manager'))…
118 $cb->attr('checked', 'checked');
121 …$cb = $form->addCheckbox("googleads[dontcountusers]", $this->getLang('gads_dont_count_users'))->us…
123 $cb->attr('checked', 'checked');
/plugin/asciidocjs/node_modules/y18n/build/
Dindex.cjs25 let cb = function () { }; // start with noop.
27 cb = args.pop();
28 cb = cb || function () { }; // noop.
40 cb
44 cb();
53 let cb = function () { }; // start with noop.
55 cb = args.pop();
75 cb
79 cb();
125 const cb = work.cb;
[all …]
/plugin/asciidocjs/node_modules/a-sync-waterfall/
Dtest.js6 return function(cb){ argument
8 cb(null);
16 return function(cb){ argument
19 cb(null);
/plugin/asciidocjs/node_modules/core-js/modules/
D_set-collection-from.js11 var mapping, A, n, cb;
19 cb = ctx(mapFn, arguments[2], 2);
21 A.push(cb(nextItem, n++));
/plugin/asciidocjs/node_modules/core-js/library/modules/
D_set-collection-from.js11 var mapping, A, n, cb;
19 cb = ctx(mapFn, arguments[2], 2);
21 A.push(cb(nextItem, n++));
/plugin/asciidocjs/node_modules/async/internal/
DcreateTester.js19 return (eachfn, arr, _iteratee, cb) => {
35 if (err) return cb(err);
36 cb(null, testPassed ? testResult : getResult(false));
/plugin/publish/
H A Dscript.js4 var cb=document.getElementById('approved');
5 if(cb == null) { return true; } //huh?
6 if(!cb.checked) { return true; } //this only fires on set

12345678910