Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation usage error #71

Open
teknotica opened this issue Oct 23, 2017 · 0 comments
Open

Documentation usage error #71

teknotica opened this issue Oct 23, 2017 · 0 comments

Comments

@teknotica
Copy link

Hi!

Just noticed whilst using this code myself, that the step 4.a of the Usage section in the README file, has an little typo, making a configuration object malformed.

Should be:

$scope.config = {
	autoHideScrollbar: false,
	theme: 'light',
        setHeight: 200,
	scrollInertia: 0
	advanced:{
	   updateOnContentResize: true
	}
}

instead of:

$scope.config = {
	autoHideScrollbar: false,
	theme: 'light',
	advanced:{
		updateOnContentResize: true
	},
		setHeight: 200,
		scrollInertia: 0
	} // <---- Not needed
}

which has an extra (not needed) curly end bracket 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant