Skip to content

Commit

Permalink
Fix strict mode errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmacarthur committed Jun 8, 2016
1 parent 8fa680e commit ebd1ac9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
.DS_store*
npm-debug.log
_site
.jekyll-metadata
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To get started, first select a license:

Get it from this repo, or from the following sources:

* <strong><a href="https://www.jsdelivr.com/projects/jquery.typeit">CDN:</a></strong> Include `https://cdn.jsdelivr.net/jquery.typeit/4.2.2/typeit.min.js` or `https://cdnjs.cloudflare.com/ajax/libs/typeit/4.2.2/typeit.min.js` on your page.
* <strong><a href="https://www.jsdelivr.com/projects/jquery.typeit">CDN:</a></strong> Include `https://cdn.jsdelivr.net/jquery.typeit/4.2.3/typeit.min.js` or `https://cdnjs.cloudflare.com/ajax/libs/typeit/4.2.3/typeit.min.js` on your page.
* <strong><a href="https://www.npmjs.com/package/typeit">npm:</a></strong> Install with `npm install typeit`.

### Hook It Up
Expand Down
7 changes: 5 additions & 2 deletions dev/typeit.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/**
* jQuery TypeIt
* @author Alex MacArthur (http://macarthur.me)
* @version 4.2.2
* @version 4.2.3
* @copyright 2016 Alex MacArthur
* @description Types out a given string or strings.
*/

/* jslint browser: true */
/* globals jQuery:false */

(function($, undefined) {

'use strict';
Expand Down Expand Up @@ -92,7 +95,7 @@
},

_generateQueue: function() {
for (i = 0; i < this.s.strings.length; i++) {
for (var i = 0; i < this.s.strings.length; i++) {

this.queue.push([this.type, this.s.strings[i]]);

Expand Down
2 changes: 1 addition & 1 deletion dev/typeit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions dist/typeit.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/**
* jQuery TypeIt
* @author Alex MacArthur (http://macarthur.me)
* @version 4.2.2
* @version 4.2.3
* @copyright 2016 Alex MacArthur
* @description Types out a given string or strings.
*/

/* jslint browser: true */
/* globals jQuery:false */

(function($, undefined) {

'use strict';
Expand Down Expand Up @@ -92,7 +95,7 @@
},

_generateQueue: function() {
for (i = 0; i < this.s.strings.length; i++) {
for (var i = 0; i < this.s.strings.length; i++) {

this.queue.push([this.type, this.s.strings[i]]);

Expand Down
Loading

0 comments on commit ebd1ac9

Please sign in to comment.