Skip to content

Commit 06550eb

Browse files
authored
Merge pull request #488 from ewilligers/strict
Use strict
2 parents 9779cac + 96e1cb6 commit 06550eb

36 files changed

+48
-7
lines changed

src/animation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(shared, scope, testing) {
1617

1718
shared.sequenceNumber = 0;
@@ -191,7 +192,6 @@
191192
this._inEffect = false;
192193
this._idle = true;
193194
this._paused = false;
194-
this._isFinished = true;
195195
this._finishedFlag = true;
196196
this._currentTime = 0;
197197
this._startTime = null;

src/apply-preserving-inline-style.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(scope, testing) {
1617

1718
var styleAttributes = {

src/apply.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(scope, testing) {
1617

1718
scope.apply = function(element, property, value) {

src/box-handler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(scope, testing) {
1617
function consumeLengthPercentOrAuto(string) {
1718
return scope.consumeLengthOrPercent(string) || scope.consumeToken(/^auto/, string);

src/color-handler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(scope, testing) {
1617

1718
var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas');

src/deprecation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(shared) {
1617

1718
var silenced = {};

src/dev.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
var WEB_ANIMATIONS_TESTING = false;
1617
var webAnimationsTesting = null;

src/dimension-handler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(scope, testing) {
1617

1718
function parseDimension(unitRegExp, string) {

src/effect-callback.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
15+
'use strict';
1416
(function(shared, scope, testing) {
1517

1618
var nullTarget = document.createElementNS('http://www.w3.org/1999/xhtml', 'div');

src/element-animatable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
'use strict';
1516
(function(scope) {
1617
window.Element.prototype.animate = function(effectInput, options) {
1718
var id = '';

0 commit comments

Comments
 (0)