Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
myround
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
myround
Commits
b6a4737b
Commit
b6a4737b
authored
Mar 13, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
19b150fc
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
Bar.js
bin/Bar.js
+4
-1
Foo.js
bin/Foo.js
+3
-1
index.js
bin/index.js
+0
-5
package.json
package.json
+1
-1
tsconfig.json
tsconfig.json
+5
-3
No files found.
Bar.js
→
bin/
Bar.js
View file @
b6a4737b
"use strict"
;
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
Foo_1
=
require
(
"./Foo"
);
var
Bar
=
/** @class */
(
function
()
{
var
Bar
=
/** @class */
(
function
()
{
function
Bar
()
{
function
Bar
()
{
console
.
log
(
'im bar'
);
}
}
Bar
.
prototype
.
createFoo
=
function
()
{
return
new
Foo_1
.
default
();
};
return
Bar
;
return
Bar
;
}());
}());
exports
.
default
=
Bar
;
exports
.
default
=
Bar
;
Foo.js
→
bin/
Foo.js
View file @
b6a4737b
...
@@ -2,8 +2,10 @@
...
@@ -2,8 +2,10 @@
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
Foo
=
/** @class */
(
function
()
{
var
Foo
=
/** @class */
(
function
()
{
function
Foo
()
{
function
Foo
()
{
console
.
log
(
'im foo'
);
}
}
Foo
.
prototype
.
log
=
function
()
{
console
.
log
(
'im foo'
);
};
return
Foo
;
return
Foo
;
}());
}());
exports
.
default
=
Foo
;
exports
.
default
=
Foo
;
index.js
→
bin/
index.js
View file @
b6a4737b
"use strict"
;
"use strict"
;
// export default function (num:number) {
// return Math.round(num)
// }
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
Foo_1
=
require
(
"./Foo"
);
exports
.
Foo
=
Foo_1
.
default
;
var
Bar_1
=
require
(
"./Bar"
);
var
Bar_1
=
require
(
"./Bar"
);
exports
.
Bar
=
Bar_1
.
default
;
exports
.
Bar
=
Bar_1
.
default
;
package.json
View file @
b6a4737b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"myround"
,
"name"
:
"myround"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"description"
:
""
,
"main"
:
"index.js"
,
"main"
:
"
./bin/
index.js"
,
"scripts"
:
{
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
},
...
...
tsconfig.json
View file @
b6a4737b
{
{
"compilerOptions"
:
{
"compilerOptions"
:
{
"outDir"
:
"bin"
,
"target"
:
"es5"
,
/*
Specify
ECMAScript
target
version
:
'ES
3
'
(default)
,
'ES
5
'
,
'ES
2015
'
,
'ES
2016
'
,
'ES
2017
'
,
'ES
2018
'
or
'ESNEXT'.
*/
"target"
:
"es5"
,
/*
Specify
ECMAScript
target
version
:
'ES
3
'
(default)
,
'ES
5
'
,
'ES
2015
'
,
'ES
2016
'
,
'ES
2017
'
,
'ES
2018
'
or
'ESNEXT'.
*/
"module"
:
"commonjs"
/*
Specify
module
code
generation
:
'none'
,
'commonjs'
,
'amd'
,
'system'
,
'umd'
,
'es
2015
'
,
or
'ESNext'.
*/
"module"
:
"commonjs"
/*
Specify
module
code
generation
:
'none'
,
'commonjs'
,
'amd'
,
'system'
,
'umd'
,
'es
2015
'
,
or
'ESNext'.
*/
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment