Commit c081f222 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[effects/squash] Put "use strict" at the beginning of the script

parent 6ca1c310
......@@ -17,14 +17,14 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************/
"use strict";
var squashEffect = {
duration: animationTime(250),
loadConfig: function () {
"use strict";
squashEffect.duration = animationTime(250);
},
slotWindowMinimized: function (window) {
"use strict";
if (effects.hasActiveFullScreenEffect) {
return;
}
......@@ -82,7 +82,6 @@ var squashEffect = {
});
},
slotWindowUnminimized: function (window) {
"use strict";
if (effects.hasActiveFullScreenEffect) {
return;
}
......@@ -140,7 +139,6 @@ var squashEffect = {
});
},
init: function () {
"use strict";
effect.configChanged.connect(squashEffect.loadConfig);
effects.windowMinimized.connect(squashEffect.slotWindowMinimized);
effects.windowUnminimized.connect(squashEffect.slotWindowUnminimized);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment