[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/theme/bootstrapbase/javascript/ -> html5shiv.js (summary)

(no description)

File Size: 301 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  addStyleSheet()
  getElements()
  getExpandoData()
  createElement()
  createDocumentFragment()
  shivMethods()
  shivDocument()

Functions
Functions that are not part of a class:

addStyleSheet(ownerDocument, cssText)   X-Ref
Creates a style sheet with the given CSS text and adds it to the document.

returns: {StyleSheet} The style element.
param: {Document} ownerDocument The document.
param: {String} cssText The CSS text.

getElements()   X-Ref
Returns the value of `html5.elements` as an array.

returns: {Array} An array of shived element node names.

getExpandoData(ownerDocument)   X-Ref
Returns the data associated to the given document

returns: {Object} An object of data.
param: {Document} ownerDocument The document.

createElement(nodeName, ownerDocument, data)   X-Ref
returns a shived element for the given nodeName and document

returns: {Object} The shived element.
param: {String} nodeName name of the element
param: {Document} ownerDocument The context document.

createDocumentFragment(ownerDocument, data)   X-Ref
returns a shived DocumentFragment for the given document

returns: {Object} The shived DocumentFragment.
param: {Document} ownerDocument The context document.

shivMethods(ownerDocument, data)   X-Ref
Shivs the `createElement` and `createDocumentFragment` methods of the document.

param: {Document|DocumentFragment} ownerDocument The document.
param: {Object} data of the document.

shivDocument(ownerDocument)   X-Ref
Shivs the given document.

returns: {Document} The shived document.
param: {Document} ownerDocument The document to shiv.



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1