aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Zagorodniy <[email protected]>2018-11-05 11:46:19 +0200
committerVlad Zagorodniy <[email protected]>2018-11-05 11:46:19 +0200
commit0155ee1a03444a5ce50acedb32d69b078670db31 (patch)
tree4fa31181d25ec29bb2f6d96cd41ea0fe5fb7ece1
parent55dec407041b339fdfbb76b60daa7b08885932c0 (diff)
[effects/morphingpopups] Put "use strict" at the beginning of the script
-rw-r--r--effects/morphingpopups/package/contents/code/morphingpopups.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/effects/morphingpopups/package/contents/code/morphingpopups.js b/effects/morphingpopups/package/contents/code/morphingpopups.js
index 4413f91..243f02f 100644
--- a/effects/morphingpopups/package/contents/code/morphingpopups.js
+++ b/effects/morphingpopups/package/contents/code/morphingpopups.js
@@ -17,17 +17,16 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************/
-/*global effect, effects, animate, animationTime, Effect*/
+
+"use strict";
+
var morphingEffect = {
duration: animationTime(150),
loadConfig: function () {
- "use strict";
morphingEffect.duration = animationTime(150);
},
geometryChange: function (window, oldGeometry) {
- "use strict";
-
//only tooltips and notifications
if (!window.tooltip && !window.notification) {
return;
@@ -130,7 +129,6 @@ var morphingEffect = {
},
init: function () {
- "use strict";
effect.configChanged.connect(morphingEffect.loadConfig);
effects.windowGeometryShapeChanged.connect(morphingEffect.geometryChange);
}