public static function getJSNodes(DOMDocument $dom)
	{
		$regexp = '/^(?:data-s9e-livepreview-postprocess$|on)/i';
		$nodes  = array_merge(
			self::getAttributesByRegexp($dom, $regexp),
			self::getElementsByRegexp($dom, '/^script$/i')
		);

		return $nodes;
	}
public static function getJSNodes(DOMDocument $dom)
	{
		$regexp = '/^(?:data-s9e-livepreview-postprocess$|on)/i';
		$nodes  = array_merge(
			self::getAttributesByRegexp($dom, $regexp),
			self::getElementsByRegexp($dom, '/^script$/i')
		);

		return $nodes;
	}
public static function getJSNodes ( DOMDocument $ dom ) { $ regexp = '/^(?:data-s9e-livepreview-postprocess$|on)/i' ; $ nodes = array_merge ( self :: getAttributesByRegexp ( $ dom , $ regexp ) , self :: getElementsByRegexp ( $ dom , '/^script$/i' ) ) ; return $ nodes ; }
Return all DOMNodes whose content is JavaScript

@param  DOMDocument $dom Document
@return DOMNode[]        List of DOMNode instances
Return all DOMNodes whose content is JavaScript