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

remotes/origin/davidedmundson/hwcomposoer_mod
Vlad Zagorodniy 7 years ago
parent 6ca1c310fe
commit c081f2224f
  1. 6
      effects/squash/package/contents/code/main.js

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

Loading…
Cancel
Save