1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-19 04:51:22 +02:00

Add new new full JS API for Inputfields, represented by 'Inputfields' JS var. See top of inputfields.js file for details.

This commit is contained in:
Ryan Cramer
2019-10-31 15:29:32 -04:00
parent 7d5cef5717
commit da36905422
5 changed files with 818 additions and 199 deletions

View File

@@ -862,6 +862,7 @@ class WireTextTools extends Wire {
* @param array $oldArray
* @param array $newArray
* @return array
* @since 3.0.144
*
*/
protected function diffArray(array $oldArray, array $newArray) {
@@ -923,6 +924,7 @@ class WireTextTools extends Wire {
* - `entityEncode` (bool): Entity encode values, other than added ins/del tags? (default=true)
* - `split` (string): Regex used to split strings for parts to diff (default=`\s+`)
* @return string
* @since 3.0.144
*
*/
public function diffMarkup($old, $new, array $options = array()) {