Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-10-24 | Rename misleading parameter "callback" to "code" | Thomas Lange | 1 | -2/+2 | |
Rename the second parameter for the "addPhaseDoneJS" method of the Item class from the misleading name "callback" to "code" because that method doesn't expect a real JS (or PHP) callback but rather simple JS code. | |||||
2021-10-24 | Remove closing tags and ensure LF at end of files | Thomas Lange | 1 | -1/+0 | |
Remove the unnecessary PHP closing tags and ensure that *all* non-binary files ending with an LF character. | |||||
2018-01-28 | Remove superflous function calls from two methods | Thomas Lange | 1 | -1/+1 | |
This commit removes the superflous function calls "removeLineBreaksAndTabs" from the "Pagelet::getStructure()" and "Item::addPhaseDoneJS()" method. If it bothers you when some properties of the JSON-encoded pagelet object contain line breaks and tabs (visible as "\r", "\n" and "\t"), then you'll need to remove them before you pass the string of javascript code to the corresponding methods: * $Pagelet->addJSCode(removeLineBreaksAndTabs($javascript_code)); * $Pagelet->addPhaseDoneJS(0, removeLineBreaksAndTabs($javascript_code)); | |||||
2017-10-21 | Code optimization: The method "getStructure" has been added to the abstract ↵ | Thomas Lange | 1 | -0/+5 | |
Item class. | |||||
2016-07-10 | Comment updates: Separate email address for code stuff. | Thomas Lange | 1 | -1/+1 | |
2016-07-10 | Each resource has now an ID; Code improvements and comment blocks added. | Thomas Lange | 1 | -0/+38 | |