aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-01-28 02:37:44 +0100
committerThomas Lange <code@nerdmind.de>2018-01-28 02:37:44 +0100
commitfbe375107d96be9488b7072c8687a1acc3ba2fa6 (patch)
treece9cac1e57bca6816f3d10fc0b96d9ae99ff0598 /.gitignore
parentc6bd37658cdae7e1dcd3ff4664c7e8a84a77bba7 (diff)
downloadbigpipe-fbe375107d96be9488b7072c8687a1acc3ba2fa6.tar.gz
bigpipe-fbe375107d96be9488b7072c8687a1acc3ba2fa6.tar.xz
bigpipe-fbe375107d96be9488b7072c8687a1acc3ba2fa6.zip
Remove superflous function calls from two methods
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));
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions