Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CommonJS #37

Closed
slavafomin opened this issue Feb 13, 2016 · 5 comments
Closed

Add support for CommonJS #37

slavafomin opened this issue Feb 13, 2016 · 5 comments

Comments

@slavafomin
Copy link
Member

As stated in #36. Make sure that it works with webpack module bundler.

@slavafomin
Copy link
Member Author

I've introduced support for CommonJS module system.

@venkateshsampath could you please try it?

You will need to add dependency to your project first:

npm i --save-dev https://github.com/betsol/angular-input-modified.git#master

Then, use it in your entry file:

'use strict';

var app = angular
  .module('app', [
    require('angular-input-modified')
  ])
  .config(function (inputModifiedConfigProvider) {
    inputModifiedConfigProvider
      .disableGlobally()
    ;
  })
;

@slavafomin slavafomin changed the title Add support for CommonJS/AMD Add support for CommonJS Feb 13, 2016
@venkateshsampath
Copy link

Hi @slavafomin,
Sorry for this delayed response. Thanks for adding the commonjs package manager support.
Will check it with my project today and get back to you ASAP.

@venkateshsampath
Copy link

Hi @slavafomin,

Thank you so much for the fix.
The fix worked perfectly fine with my project that uses webpack.

Will you be able to publish a new version as npm module so that I could use it after updating my package.json.

@slavafomin
Copy link
Member Author

Here goes the 2.3.2, have fun!

@venkateshsampath
Copy link

Awesome! Thanks @slavafomin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants