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

angular-modal-service

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-modal-service - npm Package Compare versions

Comparing version 0.6.8 to 0.6.9

2

bower.json
{
"name": "angular-modal-service",
"version": "0.6.8",
"version": "0.6.9",
"homepage": "https://github.com/dwmkerr/angular-modal-service",

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

@@ -1,3 +0,3 @@

/*angular-modal-service v0.6.7 - https://github.com/dwmkerr/angular-modal-service */
/*angular-modal-service v0.6.8 - https://github.com/dwmkerr/angular-modal-service */
!function(){"use strict";var e=angular.module("angularModalService",[]);e.factory("ModalService",["$document","$compile","$controller","$http","$rootScope","$q","$templateCache",function(e,n,l,o,t,r,c){function a(){var e=this,a=function(e,n){var l=r.defer();return e?l.resolve(e):n?o.get(n,{cache:c}).then(function(e){l.resolve(e.data)},function(e){l.reject(e)}):l.reject("No template or templateUrl has been specified."),l.promise};e.showModal=function(e){var o=r.defer(),c=e.controller;return c?(a(e.template,e.templateUrl).then(function(c){var a=t.$new(),i=r.defer(),s={$scope:a,close:function(e,n){(void 0===n||null===n)&&(n=0),window.setTimeout(function(){i.resolve(e),a.$destroy(),d.remove(),s.close=null,o=null,i=null,m=null,s=null,d=null,a=null},n)}};e.inputs&&angular.extend(s,e.inputs);var p=n(c),d=p(a);s.$element=d;var f=l(e.controller,s);e.controllerAs&&(a[e.controllerAs]=f),e.appendElement?e.appendElement.append(d):u.append(d);var m={controller:f,scope:a,element:d,close:i.promise};o.resolve(m)}).then(null,function(e){o.reject(e)}),o.promise):(o.reject("No controller has been specified."),o.promise)}}var u=e.find("body");return new a}])}();
//# sourceMappingURL=angular-modal-service.min.js.map
{
"name": "angular-modal-service",
"version": "0.6.8",
"version": "0.6.9",
"description": "AngularJS Service for showing Modals and Popups",

@@ -28,22 +28,23 @@ "main": "./dst/angular-modal-service.js",

"devDependencies": {
"connect-livereload": "^0.5.3",
"coveralls": "^2.10.0",
"express": "^4.12.0",
"gulp": "^3.8.11",
"gulp-header": "^1.2.2",
"gulp-jshint": "^1.9.2",
"gulp-open": "^1.0.0",
"gulp-rename": "^1.2.0",
"gulp-sourcemaps": "^1.5.0",
"gulp-uglify": "^1.1.0",
"jshint-stylish": "^2.0.0",
"karma": "^0.13.0",
"karma-chrome-launcher": "^0.2.3",
"karma": "^0.13.10",
"karma-chrome-launcher": "^0.2.0",
"karma-coverage": "^0.5.1",
"karma-jasmine": "~0.3",
"karma-junit-reporter": "~0.3",
"karma-phantomjs-launcher": "^0.2.4",
"tiny-lr": "^0.1.5",
"gulp-uglify": "^1.1.0",
"gulp-rename": "^1.2.0",
"gulp-sourcemaps": "^1.5.0",
"connect-livereload": "^0.5.3",
"karma-phantomjs-launcher": "^0.2.1",
"opn": "^3.0.1",
"gulp-header": "^1.2.2"
"phantomjs": "^1.9.18",
"tiny-lr": "^0.1.5"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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