You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm planning to make a version of this Angular extension so that it works with Ionic. It should be as simple as:
Creating a copy of angular.intellisense.js and naming it ionic.bundle.intellisense.js
Adding a call to trackModule('ionic'); after the existing trackModule('ng');
However, I don't want to make a full copy of angular.intellisense.js in source control, because we risk not having changes stay in sync between the two files. What do you think of the following design proposal?
Proposal
Refactor common code into an IntelliSenseExtension.js file that has the shared source for both frameworks (this is most of the code).
Create an angular.suffix.js file with the code that is unique to Angular (i.e. trackModule('ng');)
Create an ionic.suffix.js file with the same unique code for Ionic (i.e. trackModule('ionic');)
Use Gulp and a gulpfile.js build script that takes the common code and suffix files and outputs both angular.intellisense.js and ionic.bundle.intellisense.js
Add a dist folder to this repo that contains the build output for anyone that just wants to download and use the built files.
The text was updated successfully, but these errors were encountered:
I am honestly fine with whatever. I haven't been in a position to contribute to this project lately (new job), and I'm not working much with AngularJS anymore, so I don't have strong opinions about it. If you have vision, then run with it.
I'm planning to make a version of this Angular extension so that it works with Ionic. It should be as simple as:
angular.intellisense.js
and naming itionic.bundle.intellisense.js
trackModule('ionic');
after the existingtrackModule('ng');
However, I don't want to make a full copy of angular.intellisense.js in source control, because we risk not having changes stay in sync between the two files. What do you think of the following design proposal?
Proposal
IntelliSenseExtension.js
file that has the shared source for both frameworks (this is most of the code).angular.suffix.js
file with the code that is unique to Angular (i.e.trackModule('ng');
)ionic.suffix.js
file with the same unique code for Ionic (i.e.trackModule('ionic');
)gulpfile.js
build script that takes the common code and suffix files and outputs bothangular.intellisense.js
andionic.bundle.intellisense.js
The text was updated successfully, but these errors were encountered: