Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-cg-angular

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-cg-angular - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

directive/index.js

@@ -70,4 +70,6 @@ 'use strict';

this.htmlPath = this.dir + this.name + '.html';
cgUtils.processTemplates(this.name,this.dir,'directive',this,defaultDir,configName);
};

2

directive/templates/complex/directive.js

@@ -8,3 +8,3 @@ angular.module('<%= appname %>').directive('<%= _.camelize(name) %>', function() {

},
templateUrl: 'directive/<%= name %>/<%= name %>.html',
templateUrl: '<%= htmlPath %>',
link: function(scope, element, attrs, fn) {

@@ -11,0 +11,0 @@

{
"name": "generator-cg-angular",
"version": "3.0.2",
"version": "3.0.3",
"description": "Yeoman Generator for Enterprise Angular projects.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -16,3 +16,3 @@ #generator-cg-angular

* Integrates LESS and includes Bootstrap via the source LESS files allowing you to reuse Bootstrap vars/mixins/etc.
* Easily Testable - Each sub-generator creates a skeleton unit test. Unit tests can be run via `grunt test` and they run automatically during the grunt watch that is active during `grunt server`.
* Easily Testable - Each sub-generator creates a skeleton unit test. Unit tests can be run via `grunt test` and they run automatically during the grunt watch that is active during `grunt serve`.

@@ -30,3 +30,3 @@ Directory Layout

admin-directive1.js ........ example simple directive
admin-directive-spec1.j..... example simple directive unit test
admin-directive1-spec.js.... example simple directive unit test
/admin-directive2 ............ example complex directive (contains external partial)

@@ -33,0 +33,0 @@ admin-directive2.js ........ complex directive javascript

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc