Fork me on GitHub

assert 1.0.7

node:

Global

THE
warn(Text %msg)
FUNCTION
mixer
assert 1.0.7
category
Environment
{
Overview

The warn function triggers a high priority warning.

Warn() is a helper function that you can place anywhere you want to a high priority warning. In local development, this amounts to a strong console error when using the Moovweb Toolkit, as well as messages in the console.

*
Argument
Type
Name
Text %message
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Modify
Move
Misc
{
Overview

must_$ functions like select, but triggers a warning if the specified elements are not found.

Overloads the normal $() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %xpath
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_copy_here functions like copy_here, but triggers a warning if the specified elements are not found.

Overloads the normal copy_here() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %xpath
»
View Source
mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_copy_here functions like copy_here, but triggers a warning if the specified elements are not found.

Overloads the normal copy_here() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Position %position
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_copy_here functions like copy_here, but triggers a warning if the specified elements are not found.

Overloads the normal copy_here() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Text %position
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_copy_to functions like copy_to, but triggers a warning if the destination is not found.

Overloads the normal copy_to() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %xpath
»
View Source
mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_copy_to functions like copy_to, but triggers a warning if the destination is not found.

Overloads the normal copy_to() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Position %pos
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_copy_to functions like copy_to, but triggers a warning if the destination is not found.

Overloads the normal copy_to() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Text %pos
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_move_here functions like move_here, but triggers a warning if the specified elements are not found.

Overloads the normal move_here() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %xpath
»
View Source
mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_move_here functions like move_here, but triggers a warning if the specified elements are not found.

Overloads the normal move_here() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Position %pos
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_move_here functions like move_here, but triggers a warning if the specified elements are not found.

Overloads the normal move_here() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Text %pos
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_move_to functions like move_to, but triggers a warning if the destination is not found.

Overloads the normal move_to() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %xpath
»
View Source
mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_move_to functions like move_to, but triggers a warning if the destination is not found.

Overloads the normal move_to() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Position %pos
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Move
{
Overview

must_move_to functions like move_to, but triggers a warning if the destination is not found.

Overloads the normal move_to() function by calling warn() if the selector doesn't match any content

*
Arguments
Type
Name
Text %xpath
Text %pos
»
View Source
node:

XMLNode

mixer
assert 1.0.7
category
Modify
{
Overview

must_remove functions like remove, but triggers a warning if the specified elements are not found.

Overloads the normal remove() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %what
»
View Source
node:

XMLNode

mixer
assert 1.0.7
categories
Create
Modify
Move
Misc
{
Overview

must_select functions like select, but triggers a warning if the specified elements are not found.

Overloads the normal select() function by calling warn() if the selector doesn't match any content

*
Argument
Type
Name
Text %xpath
»
View Source