Home | History | Annotate | Download | only in inspector

Lines Matching refs:function

18 function createElement(tagName, owner, opt_position, opt_size, opt_noAppend) {
41 function createTextNode(value, owner) {
57 function ownerDocument(node) {
62 * Wrapper function to create CSS units (pixels) string
67 function px(numPixels) {
77 function setPosition(element, point) {
90 function setSize(element, size) {
97 * Sets display to none. Doing this as a function saves a few bytes for
102 function displayNone(node) {
111 function displayDefault(node) {
121 function appendChild(parent, child) {
127 * Wrapper for the eval() builtin function to evaluate expressions and
137 function jsEval(expr) {
147 * Wrapper for the eval() builtin function to execute statements. This
158 function jsExec(stmt) {
181 function jsEvalWith(expr, context) {
210 * NOTE: The reason this is not combined with the elem() function is
212 * elem() is a wrapper for the built-in document.getElementById() function,
213 * whereas this function performs the traversal itself.
215 * but the in-built function would perform better than using our own traversal.
221 function nodeGetElementById(node, elemId) {
244 function domGetAttribute(node, name) {
255 function domSetAttribute(node, name, value) {
265 function domRemoveAttribute(node, name) {
275 function domCloneNode(node) {
287 function domClassName(node) {
297 function domAddClass(node, className) {
325 function domRemoveClass(node, className) {
346 function domTestClass(node, className) {
363 function domInsertBefore(newChild, oldChild) {
374 function domAppendChild(node, child) {
385 function domRemoveChild(node, child) {
396 function domReplaceChild(newChild, oldChild) {
406 function domRemoveNode(node) {
417 function domCreateTextNode(doc, text) {
428 function domCreateElement(doc, name) {
439 function domCreateAttribute(doc, name) {
450 function domCreateComment(doc, text) {
460 function domCreateDocumentFragment(doc) {
471 function domGetElementById(doc, id) {
479 * @param {Function} fun Callback function.
483 function windowSetInterval(win, fun, time) {
494 function windowClearInterval(win, id) {
504 function containsNode(parent, child) {
523 function jsLength(a) {
540 function copyProperties(to, from) {
541 foreachin(from, function(p) {
547 * Iterates over the array, calling the given function for each
551 * @param {Function} fn
553 function foreach(array, fn) {
562 * the given function for each property. If opt_all isn't true, uses
567 * @param {Function} fn
570 function foreachin(object, fn, opt_all) {
587 function arrayAppend(a1, a2, opt_begin, opt_end) {
603 function stringTrim(str) {
615 function stringTrimLeft(str) {
627 function stringTrimRight(str) {
638 function parseInt10(s) {
693 function JsExprContext(opt_data, opt_parent) {
733 JsExprContext.prototype.jseval = function(expr, template) {
737 return (function() {
762 JsExprContext.prototype.clone = function(data, index) {
781 JsExprContext.prototype.setVariable = function(name, value) {
787 * Sets the function used to resolve the values of the transclude
791 * @param {Function} resolver The function used to resolve transclude
793 * function will be inserted into the template instance being
794 * processed. Thus, the resolver function must instantiate the
797 JsExprContext.prototype.setSubTemplateResolver = function(resolver) {
804 * attribute. If a resolver function was set using
813 JsExprContext.prototype.getSubTemplate = function(id) {
833 function jstProcess(context, template) {
845 function JstProcessor() {
850 * Runs the state machine, beginning with function "start".
852 * @param {Array} start The first function to run, in the form
855 JstProcessor.prototype.run_ = function(start) {
867 * Appends a function to be called later.
868 * Analogous to calling that function on a subsequent line, or a subsequent
871 * @param {Array} f A function in the form [object, method, args ...]
873 JstProcessor.prototype.enqueue_ = function(f) {
885 JstProcessor.prototype.jstProcess_ = function(context, template) {
924 foreach(expressions.split(/\s*;\s*/), function(expression) {
964 * @param {Function} process The function to continue processing with.
966 JstProcessor.prototype.jstSelect_ = function(context, template, select) {
1058 function postProcessMultiple_(template, select, instanceStr) {
1072 function postProcessSingle_(template, select) {
1094 JstProcessor.prototype.jstValues_ = function(context, template, valuesStr) {
1147 JstProcessor.prototype.jstContent_ = function(context, template, content) {
1169 function jstGetTemplate(name) {