gjs r75 - trunk/modules/tweener
- From: lucasr svn gnome org
- To: svn-commits-list gnome org
- Subject: gjs r75 - trunk/modules/tweener
- Date: Fri, 7 Nov 2008 11:47:35 +0000 (UTC)
Author: lucasr
Date: Fri Nov 7 11:47:34 2008
New Revision: 75
URL: http://svn.gnome.org/viewvc/gjs?rev=75&view=rev
Log:
* modules/tweener/tweener.js: declare variable i in a for loop in order
to fix a runtime warning.
Modified:
trunk/modules/tweener/tweener.js
Modified: trunk/modules/tweener/tweener.js
==============================================================================
--- trunk/modules/tweener/tweener.js (original)
+++ trunk/modules/tweener/tweener.js Fri Nov 7 11:47:34 2008
@@ -610,7 +610,7 @@
var found = false;
for (name in newTween.properties) {
found = false;
- for (i = 0; i < properties.length; i++) {
+ for (let i = 0; i < properties.length; i++) {
if (properties[i] == name) {
found = true;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]