From edd992ae5cf8a7bc325a18a80826bcc2b93610d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?fran=C3=A7ois=20GUILLEM?= Date: Thu, 17 Aug 2017 10:08:33 +0200 Subject: [PATCH] Remove iife --- dist/MyLib.js | 70 ++++++++++++++-------------------- dist/MyLib.min.js | 4 +- src/bar.js | 12 ++---- src/foo.js | 13 ++----- src/main.js | 43 ++++++++++----------- test/src/test-MyLib.js | 42 +++++++++------------ test/src/test-foobar.js | 28 ++++++-------- test/test.js | 84 ++++++++++++++++++----------------------- 8 files changed, 124 insertions(+), 172 deletions(-) diff --git a/dist/MyLib.js b/dist/MyLib.js index 5f760d0..9a13b28 100644 --- a/dist/MyLib.js +++ b/dist/MyLib.js @@ -1,56 +1,42 @@ (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);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o