jsonx
|
- |
getChildrenProperty
|
- |
should return the children of an JSONX Object
|
- |
should get the children from jsonx.props._children property
|
- |
should get the children from jsonx.props.children property
|
- |
getChildrenProps
|
- |
should return child JSONX if not passing props
|
- |
should pass props except for styles
|
- |
getJSONXChildren
|
- |
should return JSONX Child Objects
|
- |
should return null on error
|
- |
jsonx components
|
- |
advancedBinding
|
- |
should use advancedBinding based on user agent
|
- |
componentMap
|
- |
should export an object of components
|
- |
getBoundedComponents
|
- |
should bind this to reactComponents
|
- |
getComponentFromMap
|
- |
should return a function if jsonx.component is not a string
|
- |
should return the dom element string if a valid DOM elmenet in ReactDOM
|
- |
should return a custom element
|
- |
should return a component library react element
|
- |
should handle errors
|
- |
getComponentFromLibrary
|
- |
should return undefined if not valid
|
- |
should return a function if selecting valid component library
|
- |
componentMap
|
- |
getFunctionFromEval
|
- |
should return a new function
|
- |
getReactClassComponent
|
- |
should create a React Component
|
- |
should allow for functions as object props
|
- |
should allow for custom class names
|
- |
should throw an error if missing a render function
|
- |
should throw an error if missing a function is missing a body
|
- |
should create suspense/lazy components
|
- |
getReactFunctionComponent
|
- |
should react a React Function Component
|
- |
should create a React Function Component with a name
|
- |
should create suspense/lazy components
|
- |
getReactContext
|
- |
should return a React Context Object
|
- |
jsonx
|
- |
helper functions
|
- |
should return React
|
- |
should return ReactDOM
|
- |
getReactElementFromJSONX
|
- |
should return an instance of a react element
|
- |
should handle errors with empty components
|
- |
should throw an error with invalid components
|
- |
getReactElementFromJSON
|
- |
should return an instance of a react element
|
- |
compile
|
- |
should convert JSONX to React Element
|
- |
outputJSON
|
- |
should convert JSONX to JSON
|
- |
outputJSX
|
- |
should compile to JSX String
|
- |
jsonToJSX
|
- |
should compile to JSX String
|
- |
outputHTML
|
- |
should be an alias for jsonxHTMLString
|
- |
jsonxHTMLString
|
- |
should return an HTML string
|
- |
__express
|
- |
should return an HTML string
|
- |
it should handle errors
|
- |
jsonxRender
|
- |
should render component inside of querySelector
|
- |
jsonx props
|
- |
getComputedProps
|
- |
should return resolved computed props
|
- |
getJSONXProps
|
- |
should return resolved dynamic prop
|
- |
should return resolved dynamic prop with undefined values if reference is invalid
|
- |
getChildrenComponents
|
- |
should return undefined children if missing __spread prop
|
- |
should return error in children if missing __spread prop and if in debug mode
|
- |
should spread data as a component on __spread prop
|
- |
boundArgsReducer
|
- |
should return reducer function
|
- |
getEvalProps
|
- |
should return evaluated props dangerously using eval
|
- |
getWindowComponents
|
- |
should return react element from jsonx.__windowComponents
|
- |
getFunctionProps
|
- |
should resolve functions from jsonx.__functionProps from function strings
|
- |
getFunctionFromProps
|
- |
should return an empty function by default
|
- |
should return a library function like this.props.reduxRouter.push
|
- |
should return a function on this.props like this.props.onClick
|
- |
should return a window function like window.print or window.localStorage.getItem
|
- |
getComponentProps
|
- |
should return evaluated props dangerously using eval
|
- |
getReactComponentProps
|
- |
should return react component props dangerously using eval
|
- |
jsonx utils
|
- |
displayComponent
|
- |
should display by default return true
|
- |
should display if left !== null||undefined
|
- |
should display if left === null||undefined
|
- |
should display if left == right
|
- |
should display if left === right
|
- |
should display if left != right
|
- |
should display if left !== right
|
- |
should display if left > right
|
- |
should display if left >= right
|
- |
should display if left < right
|
- |
should display if left <= right
|
- |
should display if multiple comprisons are true
|
- |
should display if one or more using comparisonorprops comprisons are true
|
- |
getAdvancedBinding
|
- |
should return true if browser supports deep nesting
|
- |
should return false on all versions of IE/Trident
|
- |
should return false on old Android Browser
|
- |
should return false on old Chrome Browser
|
- |
should return false unknown browser
|
- |
traverse
|
- |
should return properties from an object from the array of paths
|
- |
should return the entire object if no paths provided
|
- |
should return undefined if paths are invalid
|
- |
should throw an error if paths are not an array of strings or numeric indexes
|
- |
validateJSONX
|
- |
should return true if JSONX is valid
|
- |
should return string and warn of invalid JSONX props
|
- |
should throw a syntax error if JSONX is missing a component
|
- |
should throw multiple errors if returnAllErrors is true
|
- |
should throw a type error if JSONX props is not an object, props.children or props._children
|
- |
should throw a type error if JSONX children is not an array or JSONX docs or a string
|
- |
should validate child objects
|
- |
should validate dynamic props[asyncprops,resourceprops,thisprops,windowprops]
|
- |
should validate eval props[dangerouslyEvalProps,dangerouslyBindEvalProps]
|
- |
should validate __dangerouslyEvalProps javascript
|
- |
should validate __dangerouslyBindEvalProps as a function that can be bound javascript
|
- |
should validate __dangerouslyInsertComponents are valid JSONX objects
|
- |
should validate __functionProps are valid function strings
|
- |
should validate __windowComponentProps is an object
|
- |
should validate __windowComponents are valid function strings
|
- |
should validate comparisonorprops is boolean
|
- |
should validate comparisonprops is an array of comaprisons
|
- |
should validate passprops is boolean
|
- |
validSimpleJSONXSyntax
|
- |
should invalidate shorthard simple syntax
|
- |
should validate shorthard simple syntax
|
- |
simpleJSONXSyntax
|
- |
should return valid JSONX from simple JSONX syntax
|
- |
should produce equivalent JSONX
|
- |
getSimplifiedJSONX
|
- |
should produce equivalent SimpleJSONX
|
- |
should return SimpleJSONX if already simple
|
- |