Skip to content

Commit bdc96bd

Browse files
committed
v1.7.2 change log
1 parent dfa7225 commit bdc96bd

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

README.md

+22-19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
### UI Scroll - [AngularJS](http://angularjs.org/) directive to provide infinite scroll over a limited element buffer
22

3-
[![Build Status](https://travis-ci.org/angular-ui/ui-scroll.svg?branch=master)](https://travis-ci.org/angular-ui/ui-scroll)
4-
[![npm version](https://badge.fury.io/js/angular-ui-scroll.svg)](http://badge.fury.io/js/angular-ui-scroll)
5-
[![Bower version](https://badge.fury.io/bo/angular-ui-scroll.svg)](http://badge.fury.io/bo/angular-ui-scroll)
3+
[![Build Status](https://travis-ci.org/angular-ui/ui-scroll.svg?branch=master)](https://travis-ci.org/angular-ui/ui-scroll)
4+
[![npm version](https://badge.fury.io/js/angular-ui-scroll.svg)](http://badge.fury.io/js/angular-ui-scroll)
5+
[![Bower version](https://badge.fury.io/bo/angular-ui-scroll.svg)](http://badge.fury.io/bo/angular-ui-scroll)
66
[![Join the chat at https://gitter.im/angular-ui/ui-scroll](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/ui-scroll?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
77

88
<p dir="rtl">
@@ -81,7 +81,7 @@ viewport has to be the table or tbody. dl as a repeated tag is not supported.
8181
The viewport is an element representing the space where the items from the collection are to be shown. Unless specified explicitly with
8282
the [uiScrollViewport](#uiscrollviewport-directive) directive, browser window will be used as the viewport.
8383

84-
_Important!_ The viewport height must be constrained. If the height of the viewport is not constrained
84+
_Important!_ The viewport height must be constrained. If the height of the viewport is not constrained
8585
(style="height:auto") it will pull the entire content of the datasource and may throw an Error depending on the number of items
8686
in the datasource. Even if it does not, using the directive this way does not provide any advantages over using ng-repeat, because
8787
item template will be always instantiated for every item in the datasource.
@@ -143,16 +143,16 @@ Currently we have 2 regular modules which can be added to the angular-app you ar
143143
- __ui.scroll.grid__ module which has
144144
- [uiScrollTh directive](#uiscrollth-and-uiscrolltd-directives)
145145
- [uiScrollTd directive](#uiscrollth-and-uiscrolltd-directives)
146-
146+
147147
Also, there is one more additional module in a separate file:
148148
- __ui.scroll.jqlite__ module (it is empty since it was deprecated in v1.6.0)
149-
150-
149+
150+
151151
-------------------
152152

153153

154154
## uiScroll directive
155-
155+
156156

157157
```html
158158
<div ui-scroll="item in myDatasource"
@@ -164,7 +164,7 @@ Also, there is one more additional module in a separate file:
164164
```
165165

166166
### Parameters
167-
167+
168168
* **uiScroll – scroll expression** – The expression indicating how to enumerate a collection. Only one format is currently supported: `variable in datasource` – where variable is the user defined loop variable and datasource is the name of the data source to enumerate.
169169
* **buffer-size - expression**, optional - number of items requested from the datasource in a single request. The default is 10 and the minimal value is 3.
170170
* **padding - expression**, optional - extra height added to the visible area for the purpose of determining when the items should be created/destroyed. The value is relative to the visible height of the area, the default is 0.5 and the minimal value is 0.3.
@@ -269,7 +269,7 @@ Adapter object implements the following methods
269269

270270
isEmpty()
271271

272-
Returns `true` if the dataset is empty and the internal buffer length = 0. Returns `false` otherwise. Mind that isEmpty() will return `true` during the **first** request is pending, so maybe it should be used together with `isLoading` property.
272+
Returns `true` if the dataset is empty and the internal buffer length = 0. Returns `false` otherwise. Mind that isEmpty() will return `true` during the **first** request is pending, so maybe it should be used together with `isLoading` property.
273273

274274
* Method `reload`
275275

@@ -433,19 +433,19 @@ because of ES6 modules (since v1.6.0), they should be built. The build process i
433433
There are some npm scripts available for developing.
434434

435435
__1__. To run dev-server use
436-
436+
437437
```
438438
npm start
439439
```
440-
440+
441441
This should start development server on 5005 port over the [./demo](https://github.com/angular-ui/ui-scroll/tree/master/demo) folder. The dev-server proxy is configured to provide work with temporary distributive files (which are being built in-memory each time the sources from ./src have been changed) despite the direct links to public distributive files form ./dist folder. So the dist-folder should stay clear until the development is finished.
442-
442+
443443
__2__. To run tests in keep-alive mode use
444-
444+
445445
```
446446
npm test
447447
```
448-
448+
449449
This runs Karma testing against temporary distributive files that are being built in-memory by the Webpack. We created a number of specifications which consist of more than 200 tests. They are living at the [./test](https://github.com/angular-ui/ui-scroll/tree/master/test) folder. Karma watches both for ./src and ./test folders and automatically re-runs tests after the source code has been changed.
450450

451451
__3__. To run both dev-server and tests in keep-alive mode use
@@ -457,29 +457,32 @@ npm run dev
457457
This is the combination of first two scripts running in concurrently mode. This allows you to work with the ui-scroll examples on 5005 port during continuous tests running.
458458

459459
__4__. To run full build process use
460-
460+
461461
```
462462
npm run build
463463
```
464-
464+
465465
After developing and testing are completed, the build process should be run to
466466
a) pass through jshint (both of ui-scroll and test specifications sources),
467467
b) generate compressed and uncompressed versions of the ui-scroll distributive in the public [./dist](https://github.com/angular-ui/ui-scroll/tree/master/dist) folder,
468468
c) run tests over minified distributive files.
469469

470470
Pull Rerquest should include source code (./scr) changes, may include tests (./test) changes and may not include public distributive (./dist) changes.
471-
471+
472472

473473
-------------------
474474

475475

476476
## Change log
477477

478+
### v1.7.2
479+
* Fixed IE compatibility issues.
480+
478481
### v1.7.1
479482
* Fixed [Babel dependencies](https://github.com/angular-ui/ui-scroll/pull/195) and [CSS insertRule](https://github.com/angular-ui/ui-scroll/issues/201) issues.
480483

481484
### v1.7.0
482-
* Reduced dygest cycles amount.
485+
* Reduced digest cycles amount.
483486
* Refactored some core classes (Adapter, Padding).
484487
* Reconsidered min/max indices processing.
485488
* Refactored tests (removed timeouts, added helpers).

0 commit comments

Comments
 (0)