FML Update

This commit is contained in:
Steffen Schröder
2013-12-09 13:05:05 +01:00
parent 690ef2b0bb
commit 666785de90
61 changed files with 408 additions and 200 deletions

View File

@ -2,7 +2,6 @@
namespace FML\Script;
use FML\Controls\Control;
use FML\Script\Sections\Constants;
use FML\Script\Sections\Functions;
use FML\Script\Sections\Globals;
@ -10,7 +9,7 @@ use FML\Script\Sections\Includes;
use FML\Script\Sections\Labels;
/**
* Class reprenting the manialink script
* Class representing the Manialink Script
*
* @author steeffeen
*/
@ -45,7 +44,7 @@ class Script {
* Create the script xml tag
*
* @param \DOMDocument $domDocument
* @return DOMElement
* @return \DOMElement
*/
public function render(\DOMDocument $domDocument) {
$scriptXml = $domDocument->createElement('script');
@ -75,7 +74,7 @@ class Script {
/**
* Add the header comment to the script
*
* @param script $scriptText
* @param string $scriptText
* @return string
*/
private function addHeaderPart($scriptText) {
@ -215,5 +214,3 @@ class Script {
return $scriptText . $mainPart;
}
}
?>