Skip to content

Commit

Permalink
Reverted Corti back to v0.2.1
Browse files Browse the repository at this point in the history
Changes should be done in original Corti.
See TalAter/Corti#7
  • Loading branch information
TalAter committed Mar 31, 2016
1 parent 207f370 commit c7cc9b6
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions test/vendor/corti.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,12 @@
//! license : MIT
//! https://github.com/TalAter/SpeechKITT/test/corti.js

(function (root, factory) {
"use strict";
if (typeof define === 'function' && define.amd) { // AMD + global
define([], function () {
return (root.Corti = factory(root));
});
} else if (typeof module === 'object' && module.exports) { // CommonJS
module.exports = factory(root);
} else { // Browser globals
root.Corti = factory(root);
}
}(typeof window !== 'undefined' ? window : this, function (_root, undefined) {
(function (undefined) {
"use strict";

// Save a reference to the global object (window in the browser)
var _root = this;

// Holds the browser's implementation
var _productionVersion = false;

Expand Down Expand Up @@ -172,7 +164,7 @@
};

// Expose functionality
return {
_root.Corti = {
patch: function() {
if (_productionVersion === false) {
_productionVersion = _root.SpeechRecognition ||
Expand All @@ -189,4 +181,4 @@
}
};

}));
}).call(this);

0 comments on commit c7cc9b6

Please sign in to comment.