Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
A fix for #154
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeingold committed Feb 8, 2014
1 parent 69c993d commit 4e1adfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/scroll/ui-scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ angular.module('ui.scroll', []).directive('ngScrollViewport', [
transclude: 'element',
priority: 1000,
terminal: true,
compile: function(element, attr, linker) {
return function($scope, $element, $attr, controllers) {
compile: function(elementTemplate, attr, linker) {
return function($scope, element, $attr, controllers) {
var adapter, adjustBuffer, adjustRowHeight, bof, bottomVisiblePos, buffer, bufferPadding, bufferSize, clipBottom, clipTop, datasource, datasourceName, enqueueFetch, eof, eventListener, fetch, finalize, first, insert, isDatasource, isLoading, itemName, loading, match, next, pending, reload, removeFromBuffer, resizeHandler, scrollHandler, scrollHeight, shouldLoadBottom, shouldLoadTop, tempScope, topVisiblePos, viewport;
match = $attr.ngScroll.match(/^\s*(\w+)\s+in\s+(\w+)\s*$/);
if (!match) {
Expand Down

0 comments on commit 4e1adfd

Please sign in to comment.