You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -349,9 +349,9 @@ the browser window object will be used as viewport.
349
349
-------------------
350
350
351
351
352
-
## jqLiteExtras service
352
+
## jqLiteExtras constant
353
353
354
-
This service implements some DOM element methods of jQuery which are currently not implemented in jqLite, namely
354
+
This constant is a class that implements some DOM element methods of jQuery which are currently not implemented in jqLite, namely
355
355
356
356
* before(elem)
357
357
* height() and height(value)
@@ -425,8 +425,7 @@ A reference to this object is injected as a property named `gridAdapter`in the s
425
425
Please feel free to make Pull Requests. Below is the information which could be useful for local developing and contributing.
426
426
427
427
The ui-scroll sources are in [./src](https://github.com/angular-ui/ui-scroll/tree/master/src) folder. They could not be run as is
428
-
because of ES6 modules (since v1.6.0), they should be built. Build process includes jshint sources verification, webpack-based
429
-
distributive files forming and tests running.
428
+
because of ES6 modules (since v1.6.0), they should be built. The build process includes jshint sources verification, distributive files generating and tests running.
430
429
431
430
There are some npm scripts available for developing.
432
431
@@ -436,43 +435,36 @@ There are some npm scripts available for developing.
436
435
npm start
437
436
```
438
437
439
-
This should start development server on 5005 port over the [./demo](https://github.com/angular-ui/ui-scroll/tree/master/demo) folder.
440
-
The middleware is configured to provide work with temporary distributive files (./temp) despite the direct links to public distributive
441
-
files (./dist). So the dist-folder should stay clear until the development is finished. Dev-server watches for the source codes (./src)
442
-
and automatically re-build temporary distributive files.
438
+
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.
443
439
444
440
__2__. To run tests in keep-alive mode use
445
441
446
442
```
447
443
npm test
448
444
```
449
445
450
-
This runs karma testing against temporary distributive files (./temp). We created a number of specifications which consist of more
451
-
than 160 tests. They are living at the [./test](https://github.com/angular-ui/ui-scroll/tree/master/test) folder. Karma watches for temp
452
-
and test folders changes and automatically re-runs tests.
446
+
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.
453
447
454
448
__3__. To run both dev-server and tests in keep-alive mode use
455
449
456
450
```
457
451
npm run dev
458
452
```
459
453
460
-
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
461
-
during continuous tests running.
454
+
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.
462
455
463
456
__4__. To run full build process use
464
457
465
458
```
466
459
npm run build
467
460
```
468
461
469
-
After developing and testing complete, the build process should be run to
470
-
a) pass through jshint,
471
-
b) generate minified versions of distributive,
472
-
c) run tests with minified distributive files,
473
-
d) obtain all necessary files in the [./dist](https://github.com/angular-ui/ui-scroll/tree/master/dist) folder.
462
+
After developing and testing are completed, the build process should be run to
463
+
a) pass through jshint (both of ui-scroll and test specifications sources),
464
+
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,
465
+
c) run tests over minified distributive files.
474
466
475
-
PR should include source code (./scr) changes, may include tests (./test) changes and may not include public distributive (./dist) changes.
467
+
Pull Rerquest should include source code (./scr) changes, may include tests (./test) changes and may not include public distributive (./dist) changes.
476
468
477
469
478
470
-------------------
@@ -486,7 +478,7 @@ PR should include source code (./scr) changes, may include tests (./test) change
0 commit comments