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

angular-component

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-component - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

dist/angular-component.js

@@ -1,2 +0,2 @@

/*! angular-component v0.0.2 | (c) 2016 @toddmotto | https://github.com/toddmotto/angular-component */
/*! angular-component v0.0.3 | (c) 2016 @toddmotto | https://github.com/toddmotto/angular-component */
(function () {

@@ -47,3 +47,3 @@

transclude: options.transclude === undefined ? true : options.transclude,
scope: {},
scope: options.bindings || {},
bindToController: !!options.bindings,

@@ -50,0 +50,0 @@ restrict: options.restrict || 'E'

@@ -1,2 +0,2 @@

/*! angular-component v0.0.2 | (c) 2016 @toddmotto | https://github.com/toddmotto/angular-component */
!function(){function t(t,n){if(n&&"string"==typeof n)return n;if("string"==typeof t){var e=/^(\S+)(\s+as\s+(\w+))?$/.exec(t);if(e)return e[3]}}function n(){function n(n,e){function o(n){function r(t){return angular.isFunction(t)?function(e,r){return n.invoke(t,this,{$element:e,$attrs:r})}:t}return{controller:e.controller||angular.noop,controllerAs:t(e.controller)||e.controllerAs||"$ctrl",template:r(e.template||e.templateUrl?e.template:""),templateUrl:r(e.templateUrl),transclude:void 0===e.transclude?!0:e.transclude,scope:{},bindToController:!!e.bindings,restrict:e.restrict||"E"}}return e.$canActivate&&(o.$canActivate=e.$canActivate),e.$routeConfig&&(o.$routeConfig=e.$routeConfig),o.$inject=["$injector"],r.directive(n,o)}var r=e.apply(this,arguments);return r.component?r:(r.component=n,r)}var e=angular.module;angular.module=n}();
/*! angular-component v0.0.3 | (c) 2016 @toddmotto | https://github.com/toddmotto/angular-component */
!function(){function t(t,n){if(n&&"string"==typeof n)return n;if("string"==typeof t){var e=/^(\S+)(\s+as\s+(\w+))?$/.exec(t);if(e)return e[3]}}function n(){function n(n,e){function o(n){function r(t){return angular.isFunction(t)?function(e,r){return n.invoke(t,this,{$element:e,$attrs:r})}:t}return{controller:e.controller||angular.noop,controllerAs:t(e.controller)||e.controllerAs||"$ctrl",template:r(e.template||e.templateUrl?e.template:""),templateUrl:r(e.templateUrl),transclude:void 0===e.transclude?!0:e.transclude,scope:e.bindings||{},bindToController:!!e.bindings,restrict:e.restrict||"E"}}return e.$canActivate&&(o.$canActivate=e.$canActivate),e.$routeConfig&&(o.$routeConfig=e.$routeConfig),o.$inject=["$injector"],r.directive(n,o)}var r=e.apply(this,arguments);return r.component?r:(r.component=n,r)}var e=angular.module;angular.module=n}();
{
"name": "angular-component",
"version": "0.0.2",
"version": "0.0.3",
"main": "./dist/angular-component.min.js",

@@ -5,0 +5,0 @@ "description": "Add .component() support for Angular 1.2+",

@@ -84,2 +84,4 @@ # angular-component.js

- 0.0.3
- Fix bug caused by bugfix (aligns with new 1.5 changes)
- 0.0.2

@@ -86,0 +88,0 @@ - Bugfix isolate scope when `bindings` is omitted, short-circuit if .component() is already supported

@@ -46,3 +46,3 @@ (function () {

transclude: options.transclude === undefined ? true : options.transclude,
scope: {},
scope: options.bindings || {},
bindToController: !!options.bindings,

@@ -49,0 +49,0 @@ restrict: options.restrict || 'E'

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