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

This commit is contained in:
Vlad Zagorodniy 2018-11-05 11:50:53 +02:00
parent 6ca1c310fe
commit c081f2224f

View file

@ -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);