MCPcopy
hub / github.com/jquery/esprima / publishExternalAPI

Function publishExternalAPI

test/3rdparty/angular-1.2.5.js:1840–1956  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

1838
1839
1840function publishExternalAPI(angular){
1841 extend(angular, {
1842 'bootstrap': bootstrap,
1843 'copy': copy,
1844 'extend': extend,
1845 'equals': equals,
1846 'element': jqLite,
1847 'forEach': forEach,
1848 'injector': createInjector,
1849 'noop':noop,
1850 'bind':bind,
1851 'toJson': toJson,
1852 'fromJson': fromJson,
1853 'identity':identity,
1854 'isUndefined': isUndefined,
1855 'isDefined': isDefined,
1856 'isString': isString,
1857 'isFunction': isFunction,
1858 'isObject': isObject,
1859 'isNumber': isNumber,
1860 'isElement': isElement,
1861 'isArray': isArray,
1862 'version': version,
1863 'isDate': isDate,
1864 'lowercase': lowercase,
1865 'uppercase': uppercase,
1866 'callbacks': {counter: 0},
1867 '$$minErr': minErr,
1868 '$$csp': csp
1869 });
1870
1871 angularModule = setupModuleLoader(window);
1872 try {
1873 angularModule('ngLocale');
1874 } catch (e) {
1875 angularModule('ngLocale', []).provider('$locale', $LocaleProvider);
1876 }
1877
1878 angularModule('ng', ['ngLocale'], ['$provide',
1879 function ngModule($provide) {
1880 // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
1881 $provide.provider({
1882 $$sanitizeUri: $$SanitizeUriProvider
1883 });
1884 $provide.provider('$compile', $CompileProvider).
1885 directive({
1886 a: htmlAnchorDirective,
1887 input: inputDirective,
1888 textarea: inputDirective,
1889 form: formDirective,
1890 script: scriptDirective,
1891 select: selectDirective,
1892 style: styleDirective,
1893 option: optionDirective,
1894 ngBind: ngBindDirective,
1895 ngBindHtml: ngBindHtmlDirective,
1896 ngBindTemplate: ngBindTemplateDirective,
1897 ngClass: ngClassDirective,

Callers 1

angular-1.2.5.jsFile · 0.85

Calls 2

setupModuleLoaderFunction · 0.85
extendFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…