Skip to content

Commit 839f0ea

Browse files
author
Lanny McNie
committed
Updated docs and libs
1 parent e6ced7a commit 839f0ea

3 files changed

Lines changed: 3 additions & 54 deletions

File tree

docs/preloadjs_docs-NEXT.zip

-4.07 KB
Binary file not shown.

lib/preloadjs-NEXT.combined.js

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ this.createjs = this.createjs || {};
5656
* @type {String}
5757
* @static
5858
**/
59-
s.buildDate = /*=date*/"Wed, 21 Oct 2015 20:55:52 GMT"; // injected by build process
59+
s.buildDate = /*=date*/"Thu, 22 Oct 2015 16:01:29 GMT"; // injected by build process
6060

6161
})();
6262

@@ -240,57 +240,6 @@ this.createjs = this.createjs||{};
240240

241241
}());
242242

243-
//##############################################################################
244-
// BrowserDetect.js
245-
//##############################################################################
246-
247-
this.createjs = this.createjs||{};
248-
249-
/**
250-
* @class Utility Methods
251-
*/
252-
(function() {
253-
"use strict";
254-
255-
/**
256-
* An object that determines the current browser, version, operating system, and other environment
257-
* variables via user agent string.
258-
*
259-
* Used for audio because feature detection is unable to detect the many limitations of mobile devices.
260-
*
261-
* <h4>Example</h4>
262-
*
263-
* if (createjs.BrowserDetect.isIOS) { // do stuff }
264-
*
265-
* @property BrowserDetect
266-
* @type {Object}
267-
* @param {Boolean} isFirefox True if our browser is Firefox.
268-
* @param {Boolean} isOpera True if our browser is opera.
269-
* @param {Boolean} isChrome True if our browser is Chrome. Note that Chrome for Android returns true, but is a
270-
* completely different browser with different abilities.
271-
* @param {Boolean} isIOS True if our browser is safari for iOS devices (iPad, iPhone, and iPod).
272-
* @param {Boolean} isAndroid True if our browser is Android.
273-
* @param {Boolean} isBlackberry True if our browser is Blackberry.
274-
* @constructor
275-
* @static
276-
*/
277-
function BrowserDetect() {
278-
throw "BrowserDetect cannot be instantiated";
279-
}
280-
281-
var agent = BrowserDetect.agent = window.navigator.userAgent;
282-
BrowserDetect.isWindowPhone = (agent.indexOf("IEMobile") > -1) || (agent.indexOf("Windows Phone") > -1);
283-
BrowserDetect.isFirefox = (agent.indexOf("Firefox") > -1);
284-
BrowserDetect.isOpera = (window.opera != null);
285-
BrowserDetect.isChrome = (agent.indexOf("Chrome") > -1); // NOTE that Chrome on Android returns true but is a completely different browser with different abilities
286-
BrowserDetect.isIOS = (agent.indexOf("iPod") > -1 || agent.indexOf("iPhone") > -1 || agent.indexOf("iPad") > -1) && !BrowserDetect.isWindowPhone;
287-
BrowserDetect.isAndroid = (agent.indexOf("Android") > -1) && !BrowserDetect.isWindowPhone;
288-
BrowserDetect.isBlackberry = (agent.indexOf("Blackberry") > -1);
289-
290-
createjs.BrowserDetect = BrowserDetect;
291-
292-
}());
293-
294243
//##############################################################################
295244
// Event.js
296245
//##############################################################################

0 commit comments

Comments
 (0)