From 4a41265a23bededea713418880e47fa7af10985e Mon Sep 17 00:00:00 2001 From: Frank Ronny Larsen Date: Sat, 23 Feb 2013 22:51:47 +0100 Subject: [PATCH] DEVEL: Added defaultStyles setting to library dependencies --- h5p.classes.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/h5p.classes.php b/h5p.classes.php index 7b941dc..af35495 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -164,6 +164,7 @@ class H5PValidator { 'machineName' => '/^[\w0-9\-\.]{1,255}$/i', 'majorVersion' => '/^[0-9]{1,5}$/', 'minorVersion' => '/^[0-9]{1,5}$/', + 'defaultStyles' => '/^(true|false)$/', ), 'mainLibrary' => '/^[$a-z_][0-9a-z_\.$]{1,254}$/i', 'embedTypes' => array('iframe', 'div'), @@ -178,6 +179,7 @@ class H5PValidator { 'machineName' => '/^[\w0-9\-\.]{1,255}$/i', 'majorVersion' => '/^[0-9]{1,5}$/', 'minorVersion' => '/^[0-9]{1,5}$/', + 'defaultStyles' => '/^(true|false)$/', ), 'externalResources' => array( 'machineName' => '/^[\w0-9\-\.]{1,255}$/i',