s/^(\*.*)$/ $1/g;
$inh = 0 if (/^\/\*\*/);
$head .= $_ if ($inh);
- $inclass=1 if ($ingq && m/(^|\s+|\()(class|enum|new) /);
+ $inclass=1 if (!$in && $ingq && m/(^|\s+|\()(class|enum|new) /);
if ($ingq && !$inclass) {
$in = 1 if (/^\/\**\s*$/);
$com = "" if (/^\/\**\s*$/);
/**
* Add elements to the set of matched elements if they are not included yet.
+ * It also update the selector appending the new one.
*/
LazyGQuery<T> add(GQuery previousObject);
/**
* Set a key/value object as properties to all matched elements.
*
+ * Example: $("img").attr(new Properties("src: 'test.jpg', alt: 'Test
* Image'"))
*/
LazyGQuery<T> attr(Properties properties);
* Returns value at named data store for the element, as set by data(name,
* value) with desired return type.
*
+ * @param clz return type class literal
*/
<T> T data(String name, Class<T> clz);
/**
* Remove all child nodes from the set of matched elements.
- * In the case of a document element, it removes all the content.
+ * In the case of a document element, it removes all the content
+ * You should call this method whenever you create a new iframe and you
* want to add dynamic content to it.
*/
LazyGQuery<T> empty();
* Adds or removes the specified classes to each matched element
* depending on the value of the switch argument.
*
+ * if addOrRemove is true, the class is added and in the case of
* false it is removed.
*/
LazyGQuery<T> toggleClass(String clz, boolean addOrRemove);