Skip to content

Commit

Permalink
chore(dist): Removes dist directory from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliosnic committed May 20, 2017
1 parent cd012fd commit 9ea7c14
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 42 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ jspm_packages
.yarn-integrity

# Temp files
dist/
docs/
55 changes: 14 additions & 41 deletions dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau

var assert = _interopDefault(require('assert'));

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

function commonjsRequire () {
throw new Error('Dynamic requires are not currently supported by rollup-plugin-commonjs');
}



function createCommonjsModule(fn, module) {
return module = { exports: {} }, fn(module, module.exports), module.exports;
}

var _default = {
api: {
host: '//auth.avocarrot.com'
Expand All @@ -28,6 +16,18 @@ var _default = {
}
};

var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

function commonjsRequire () {
throw new Error('Dynamic requires are not currently supported by rollup-plugin-commonjs');
}



function createCommonjsModule(fn, module) {
return module = { exports: {} }, fn(module, module.exports), module.exports;
}

var client = createCommonjsModule(function (module, exports) {
(function(root) {
/**
Expand Down Expand Up @@ -1324,31 +1324,10 @@ var bowser = createCommonjsModule(function (module) {
result.linux = t;
}

function getWindowsVersion (s) {
switch (s) {
case 'NT': return 'NT'
case 'XP': return 'XP'
case 'NT 5.0': return '2000'
case 'NT 5.1': return 'XP'
case 'NT 5.2': return '2003'
case 'NT 6.0': return 'Vista'
case 'NT 6.1': return '7'
case 'NT 6.2': return '8'
case 'NT 6.3': return '8.1'
case 'NT 10.0': return '10'
default: return undefined
}
}

// OS version extraction
var osVersion = '';
if (result.windows) {
osVersion = getWindowsVersion(getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i));
} else if (result.windowsphone) {
if (result.windowsphone) {
osVersion = getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i);
} else if (result.mac) {
osVersion = getFirstMatch(/Mac OS X (\d+([_\.\s]\d+)*)/i);
osVersion = osVersion.replace(/[_\s]/g, '.');
} else if (iosdevice) {
osVersion = getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i);
osVersion = osVersion.replace(/[_\s]/g, '.');
Expand All @@ -1368,7 +1347,7 @@ var bowser = createCommonjsModule(function (module) {
}

// device type extraction
var osMajorVersion = !result.windows && osVersion.split('.')[0];
var osMajorVersion = osVersion.split('.')[0];
if (
tablet
|| nexusTablet
Expand Down Expand Up @@ -5912,12 +5891,6 @@ var AuthenticationClient = function immediate() {
};
}();

/* istanbul ignore next */

if (commonjsGlobal.window) {
commonjsGlobal.window.AuthenticationClient = AuthenticationClient;
}

var index = AuthenticationClient;

module.exports = index;

0 comments on commit 9ea7c14

Please sign in to comment.