Ran Benita
554ffce7b7
Update to acorn 7, bump ecmaVersion to 11, deprecate the dynamicImport option
...
acorn, with ecmaVersion set to 11, now support dynamic imports, so we
can drop the acorn-dynamic-import dependency, and just enable parsing
import()s unconditionally.
2019-09-03 22:47:38 +03:00
Ran Benita
9f109d92fc
1.10.0
2019-06-22 22:17:13 +03:00
Filipe Costa
046971248e
Support ES6 classes
...
- Annotated class
- Annotated expression class
- Annotated constructor
- Prologue directive on constructor
Originally authored by @nevcos (Filipe Costa <fcosta@fuze.com >) - closes #5 .
Updated and improved by @FRSgit (kkkubas@o2.pl <pozdro1994elo>) - closes #13 .
Fixes #4 .
2019-01-25 13:43:32 +02:00
Eric McCormick
958a7a8b2b
updates readme reference for install of package
...
`npm install ng-annotate-patched`, as this looks to not have the same name as the forked source
ref: [npm: ng-annotate-patched](http://npm.im/ng-annotate-patched )
2018-04-17 08:26:54 -05:00
Ran Benita
8641bdfc2e
README: move dynamic import section under the "fork details" section
2018-01-28 12:19:24 +02:00
CodySchaaf
84c790249a
Adds support for dynamic imports
2018-01-17 13:10:06 -08:00
Ran Benita
38a78b01a8
Support export var varName = function($scope) { "ngInject"; }
2017-04-29 00:57:03 +03:00
Ran Benita
ac6cd06341
Support ngInject on export [default] function functionName() {...}
...
This is somewhat common, even after conversion to ES5, when ES6 modules
are still used (e.g. Webpack 2, rollup). So let's try to support it.
2017-04-28 22:28:37 +03:00
Ran Benita
e6d855e2f5
Bump version & publish to npm
2017-04-28 14:34:33 +03:00
Ran Benita
b931ceef36
Rename package to ng-annotate-patched and update README
2017-04-28 14:34:33 +03:00
Andrey.Skladchikov
bc2d2617b6
Add ng-annotate-loader mention as webpack integration tool
2015-12-28 17:45:07 +03:00
Olov Lassus
a90ef6c81e
sed and JS wash ngInject examples
2015-12-19 18:10:05 +01:00
Olov Lassus
a2d4fa8b50
README tweak
2015-12-19 15:32:44 +01:00
Olov Lassus
23b53fa4ec
docs
2015-12-19 15:19:25 +01:00
Olov Lassus
5bfb3b124e
match myMod.component("foo", {controller: fn})
2015-12-19 12:53:52 +01:00
Olov Lassus
fa6862ea2f
Merge pull request #199 from mastilver/add-travis
...
add travis
2015-12-19 12:11:53 +01:00
Olov Lassus
56e39a2999
match $controllerProvider.register. closes #195
2015-12-19 11:39:03 +01:00
Olov Lassus
bf1a7c0fca
support $uibModal.open. closes #200
2015-12-19 10:33:47 +01:00
Olov Lassus
9d8b92ebf0
support foo.decorator with an exception for $stateProvider.decorator (ui-router). closes #204
2015-12-19 10:25:43 +01:00
Thomas Sileghem
e27cc8baa3
chore(test): add travis
2015-10-07 18:18:43 +01:00
Olov Lassus
79a49f6723
**
2015-05-27 22:06:40 +02:00
Olov Lassus
338494199c
CHANGES, README 1.0.0
2015-05-27 22:03:19 +02:00
Olov Lassus
08b5cb4128
Merge pull request #165 from smrq/master
...
Fix inconsistency between `map` and `sourcemap`
2015-05-27 21:18:38 +02:00
Aleksey Guryanov
532fa6069f
Add reference to enb-ng-techs project
2015-05-26 16:15:02 +03:00
Greg Smith
2cca57363f
Fix documentation of API map option
2015-05-19 12:02:45 -05:00
Olov Lassus
346aa9f0ab
match myMod.store (flux-angular). closes #145
2015-03-12 10:09:41 +01:00
Olov Lassus
292a9fe57a
kill es6 option, bump ordered-ast-traverse, remove esprima testrun
2015-01-26 12:07:30 +01:00
Olov Lassus
3949c11e04
CHANGES 0.15.0, README tweaks
2015-01-15 18:39:06 +01:00
Olov Lassus
5471c169c6
README: grammar
2015-01-15 18:30:16 +01:00
Olov Lassus
947b1e04e4
Merge branch 'master' of https://github.com/olov/ng-annotate
...
* 'master' of https://github.com/olov/ng-annotate :
Add note about the new middleman-ngannotate gem to README
2015-01-15 18:26:09 +01:00
Olov Lassus
4ca75e01cd
README
2015-01-15 18:24:32 +01:00
Michael Siebert
6b9c58baad
Add note about the new middleman-ngannotate gem to README
2014-12-10 10:07:46 +01:00
Greg Smith
e6baa7f5b7
Merge remote-tracking branch 'upstream/master' into sourcemap-combination
2014-11-18 11:18:55 -06:00
Olov Lassus
46e91b6ee6
match $mdDialog.show, $mdToast.show and $mdBottomSheet.show. closes #98
2014-11-18 14:20:40 +01:00
Olov Lassus
1f5bf3cf5f
precise matching on $provide.decorator, .service, .factory and .provider. Remove general .decorator matching on long and short forms. closes #82
2014-11-18 13:52:39 +01:00
Olov Lassus
f3db038677
CHANGES, README 0.12.0
2014-11-10 15:34:58 +01:00
Greg Smith
67dd348665
Merge remote-tracking branch 'upstream/master' into sourcemap-combination
...
Conflicts:
ng-annotate.js
run-tests.js
2014-10-10 13:50:41 -05:00
Olov Lassus
5465a64410
--es6 option. closes #64
2014-10-09 12:12:03 +02:00
Greg Smith
26f2974e24
Sourcemap combination
2014-09-18 15:30:59 -05:00
Olov Lassus
38e6c9cd8f
document --rename and its API
2014-09-15 16:33:10 +02:00
Olov Lassus
0949e59f3b
Merge branch 'rename' of https://github.com/frapontillo/ng-annotate into frapontillo-rename
...
* 'rename' of https://github.com/frapontillo/ng-annotate :
fix: rename provider names
use stringmap for rename map, separate rename tests
Add rename tests, fix test on Windows
Add rename tests, transform remaining let to const
Use let instead of var, fix build
Use let instead of var, fix build
add --rename option to rename declarations and references
2014-09-15 15:24:30 +02:00
Rubens Mariuzzo
f0056b833d
Improved: syntax highlighting
...
Added languages metadata to improve syntax highlighting :shipit:
😉
2014-09-06 20:49:13 -04:00
Francesco Pontillo
8bed6d1bc8
Merge remote-tracking branch 'upstream/master' into rename
...
Conflicts:
ng-annotate-main.js
ng-annotate.js
nginject-comments.js
run-tests.js
2014-08-18 09:06:31 +02:00
Olov Lassus
c028a04ea9
README: reference following
2014-08-07 23:45:15 +02:00
Olov Lassus
858087c8d5
README: add info about ng-annotate-webpack-plugin
2014-08-07 23:27:18 +02:00
Olov Lassus
2386ef6e3c
support ngInject() in addition to /*@ngInject*/
2014-08-07 22:26:55 +02:00
Olov Lassus
0eaf79e75a
Merge branch 'smrq-master'
...
* smrq-master:
formatting
tabs to spaces
fix API example
SourceMapper should copy fragments array before mutating it
Testing sourcemaps using SourceMapConsumer
Vastly improved sourcemap performance
Test for sourcemaps
Only generate sourcemaps when given API option
CLI for sourcemaps
Basic implementation of sourcemaps (no CLI)
Using os.EOL instead of \n in generated output
2014-08-02 13:27:28 +02:00
Olov Lassus
60aa4d16bf
fix API example
2014-08-02 13:24:16 +02:00
Francesco Pontillo
b6f29406c4
Merge remote-tracking branch 'upstream/master' into rename
2014-07-28 09:36:10 +02:00
Olov Lassus
a4dec47ba0
README: IIFE match-through
2014-07-28 01:25:14 +02:00