angular-pagepiling.js
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -52,5 +52,3 @@ ;(function() { | ||
//They still work without the hash though, so its all good. | ||
if (options && options.navigation) { | ||
$('#pp-nav').find('a').removeAttr('href'); | ||
} | ||
$('#pp-nav').find('a').removeAttr('href'); | ||
}; | ||
@@ -66,6 +64,2 @@ | ||
var watchNodes = function() { | ||
return element[0].getElementsByTagName('*').length; | ||
}; | ||
element.on('$destroy', destroyFullPage); | ||
@@ -72,0 +66,0 @@ } |
{ | ||
"name": "angular-pagepiling.js", | ||
"description": "A simple angular directive for pagePiling.js", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "angular-fullpage.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -15,2 +15,3 @@ ;(function() { | ||
function changePage(){ | ||
console.log('sate'); | ||
$state.go($rootScope.chosenPage); | ||
@@ -17,0 +18,0 @@ } |
@@ -52,5 +52,3 @@ ;(function() { | ||
//They still work without the hash though, so its all good. | ||
if (options && options.navigation) { | ||
$('#pp-nav').find('a').removeAttr('href'); | ||
} | ||
$('#pp-nav').find('a').removeAttr('href'); | ||
}; | ||
@@ -66,6 +64,2 @@ | ||
var watchNodes = function() { | ||
return element[0].getElementsByTagName('*').length; | ||
}; | ||
element.on('$destroy', destroyFullPage); | ||
@@ -72,0 +66,0 @@ } |
@@ -11,5 +11,7 @@ ;(function() { | ||
function DynamicController($state){ | ||
this.mainOptions = { | ||
sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'] | ||
}; | ||
} | ||
})(); |
@@ -12,8 +12,7 @@ ;(function() { | ||
var _this = this; | ||
this.mainOptions = { | ||
sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'], | ||
anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'], | ||
menu: '#menu' | ||
anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage'], | ||
menu: '#menu', | ||
navigation: false | ||
}; | ||
@@ -20,0 +19,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11239371
53146