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

angular-owl-carousel2

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-owl-carousel2 - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "angular-owl-carousel2",
"version": "1.0.5",
"version": "1.0.6",
"description": "Owl carousel 2 imp for angularjs",

@@ -5,0 +5,0 @@ "main": "src/angular-owl-carousel-2.js",

@@ -137,16 +137,15 @@ /**

$scope.$watchCollection('owlItems', function (items) {
if ((items && items.length > 0 && !initial)) {
destroyOwl();
initOwl();
$scope.$watch('owlItems', function () {
try{
destroyOwl();//always attempt destruction
}
else if ((items && items.length > 0 && initial)) {
initial = false;
initOwl();
catch(e){}
if($scope.owlItems instanceof Array){
initOwl();//if array, try to instantiate
}
}, true);
}, true);
function buildProperties(props) {

@@ -178,2 +177,3 @@ var build = {};

owlCarousel.owlCarousel('destroy');
$element.find('.owl-stage').remove();//for some reason its left behind. remove it
}

@@ -180,0 +180,0 @@ }

@@ -22,8 +22,3 @@ /**

};
$timeout(function () {
$scope.items.push(11);
},2000)
});
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