Skip to content

Commit a5e0d62

Browse files
committed
Fix bug introduced by babel which makes client not work when imported directly
1 parent b9c7fa6 commit a5e0d62

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

asyngular-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Asyngular JavaScript client v6.2.1
2+
* Asyngular JavaScript client v6.2.2
33
*/
44
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.asyngularClient = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
55
(function (global){

asyngular-client.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ gulp.task('minify', function () {
5050
.pipe(babel({
5151
plugins: ['minify-dead-code-elimination']
5252
}))
53-
.pipe(babel({
54-
presets: ['@babel/preset-env']
55-
}))
5653
.pipe(minify())
5754
.pipe(insert.prepend(FULL_HEADER))
5855
.pipe(rename({

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"description": "Asyngular JavaScript client",
44
"version": "6.2.2",
55
"homepage": "https://asyngular.io/",
6-
"main": "asyngular-client.min.js",
76
"contributors": [
87
{
98
"name": "Jonathan Gros-Dubois",

0 commit comments

Comments
 (0)