-
Notifications
You must be signed in to change notification settings - Fork 1
/
browser.js
25 lines (23 loc) · 1.1 KB
/
browser.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.isM4a=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
module.exports = function (buf) {
if (!buf || buf.length < 8) {
return false;
}
return (buf[0] === 0 &&
buf[1] === 0 &&
buf[2] === 0 &&
buf[3] === 32 &&
buf[4] === 102 &&
buf[5] === 116 &&
buf[6] === 121 &&
buf[7] === 112) || (
buf[0] === 77 &&
buf[1] === 52 &&
buf[2] === 65 &&
buf[3] === 32
)
};
},{}]},{},[1])
(1)
});