• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loedeman / AutoMapper / 66
93%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2017 03:57AM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
66

Pull #47

travis-ci

web-flow
Update gulp-umd Configuration to Export AutoMapperJs Namespace

Before, the UMD configuration ensured that only the `automapper` global
variable was exported. Now, the whole `AutoMapperJs` namespace is
exported. This makes things such as `Profile` and
`CamelCaseNamingConvention` available. The `automapper` variable is
still attached to `window` (or `global`), as there is code in
`AutoMapper.ts` that ensures it does.

Note that in a webpack environment, the `automapper` variable is likely
**not** placed on the `window` or `global` object, as the global `this`
object is likely not the `global` or `window. In this case, calling
`AutoMapper.getInstance()` to get the singleton is likely required.

I think there could be more work on this codebase as far as how it
handles exports and namespacing, and I think I'll have some time to look
into continuing that.

Fixes #41.
Pull Request #47: Update gulp-umd Configuration to Export AutoMapperJs Namespace

340 of 428 branches covered (79.44%)

788 of 850 relevant lines covered (92.71%)

30.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 66.1 24 Nov 2017 03:57AM UTC 0
92.71
Travis Job 66.1
Source Files on build 66
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #66
  • Pull Request #47
  • PR Base - master (#64)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc