Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Commit

Permalink
fixed global name
Browse files Browse the repository at this point in the history
  • Loading branch information
jgermade committed Mar 27, 2017
1 parent 99f0b0a commit 7910ae3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ install:
@npm install

build: install
$(shell npm bin)/rollup src/http-browser.js --format umd --output dist/browser.js -n $http
$(shell npm bin)/rollup src/http-fetch.js --format umd --output dist/fetch.js -n $http
$(shell npm bin)/rollup src/http-browser.js --format umd --output dist/browser.js -n \$$http
$(shell npm bin)/rollup src/http-fetch.js --format umd --output dist/fetch.js -n \$$http
$(shell npm bin)/rollup src/wrapper.js --format cjs --output dist/wrapper.js
cp src/http-node.js dist/http-node.js

Expand Down
2 changes: 1 addition & 1 deletion dist/browser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.ttp = factory());
(global.$http = factory());
}(this, (function () { 'use strict';

var isType = function (type, o) {
Expand Down
2 changes: 1 addition & 1 deletion dist/fetch.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.ttp = factory());
(global.$http = factory());
}(this, (function () { 'use strict';

var isType = function (type, o) {
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "http-rest",
"version": "0.1.72",
"version": "0.1.73",
"description": "http jstool example",
"main": "http-node.js",
"scripts": {
Expand Down

0 comments on commit 7910ae3

Please sign in to comment.