How to use the es5-ext/array/#/clear.call function in es5-ext

To help you get started, we’ve selected a few es5-ext examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vitalyq / react-trigger-change / test / vendor / es6-set.js View on Github external
clear: d(function () {
		if (!this.__setData__.length) return;
		clear.call(this.__setData__);
		this.emit('_clear');
	}),
	delete: d(function (value) {
github vitalyq / react-trigger-change / test / vendor / es6-set.js View on Github external
_onClear: d(function () {
		if (this.__redo__) clear.call(this.__redo__);
		this.__nextIndex__ = 0;
	})
})));
github medikoo / controller-router / test / index.js View on Github external
a.deep(called, ['root']);
	clear.call(called);

	var emitted;
	router.once('route:before', function (event) { emitted = event.path; });
	a.deep(router.routeEvent(event, '/foo/'), { conf: conf.foo, result: undefined, event: event });
	a(emitted, '/foo/');
	a.deep(called, ['foo']);
	clear.call(called);

	a(router.routeEvent(event, 'miszka'), false);
	a.deep(called, []);

	a.deep(router.routeEvent(event, 'marko'), { conf: conf.marko, result: undefined, event: event });
	a.deep(called, ['marko']);
	clear.call(called);

	a.deep(router.routeEvent(event, 'bar/dwa'), { conf: conf['bar/dwa'], result: obj, event: event });
	a.deep(called, ['bar/dwa']);
	clear.call(called);

	a.deep(router.routeEvent(event, 'elo/dwa'),
		{ conf: conf['elo/dwa'], result: undefined, event: event });
	a.deep(called, ['elo/dwa']);
	clear.call(called);

	a(router.routeEvent(event, 'elo/dwa/marko'), false);
	a.deep(called, ['elo/dwa/*:match']);
	clear.call(called);

	a.deep(router.routeEvent(event, 'elo/dwa/foo'),
		{ conf: conf['elo/dwa/[a-z]+'], result: undefined, event: event });
github sx1989827 / DOClever / Desktop / node_modules / es6-map / polyfill.js View on Github external
clear: d(function () {
		if (!this.__mapKeysData__.length) return;
		clear.call(this.__mapKeysData__);
		clear.call(this.__mapValuesData__);
		this.emit('_clear');
	}),
	delete: d(function (key) {
github medikoo / es6-set / polyfill.js View on Github external
clear: d(function () {
		if (!this.__setData__.length) return;
		clear.call(this.__setData__);
		this.emit('_clear');
	}),
	delete: d(function (value) {
github medikoo / es6-set / lib / primitive-iterator.js View on Github external
_onClear: d(function () {
		clear.call(this.__list__);
		this.__nextIndex__ = 0;
	})
})));
github DigixGlobal / truffle-lightwallet-provider / node_modules / es6-iterator / index.js View on Github external
_onClear: d(function () {
				if (this.__redo__) clear.call(this.__redo__);
				this.__nextIndex__ = 0;
			})
		})
github sx1989827 / DOClever / Desktop / node_modules / es6-iterator / index.js View on Github external
_onClear: d(function () {
				if (this.__redo__) clear.call(this.__redo__);
				this.__nextIndex__ = 0;
			})
		})
github ozum / joi18n / node_modules / es6-weak-map / node_modules / es6-iterator / index.js View on Github external
_onClear: d(function () {
		if (this.__redo__) clear.call(this.__redo__);
		this.__nextIndex__ = 0;
	})
})));