@angular-wave/angular.ts 0.0.52 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +0 -8
- package/src/animations/animate-css-driver.js +2 -3
- package/src/animations/animate-queue.js +1 -3
- package/src/animations/animate.md +933 -0
- package/src/animations/module.js +0 -754
- package/src/binding.spec.js +0 -2
- package/src/core/animate/animate-css.js +21 -6
- package/src/core/animate/animate.js +4 -3
- package/src/core/animate/animate.spec.js +194 -286
- package/src/core/animate/helpers.js +10 -0
- package/src/core/compile/compile.spec.js +3 -5
- package/src/core/location/location.spec.js +7 -7
- package/src/core/url-utils/url-utils.spec.js +1 -3
- package/src/directive/options/options.js +2 -3
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/exts/messages/messages.js +1 -2
- package/src/public.js +0 -7
- package/src/services/cookie-reader.js +2 -6
- package/src/services/http-backend/http-backend.js +0 -1
- package/types/animations/animate-css-driver.d.ts +1 -1
- package/types/animations/animate-queue.d.ts +1 -1
- package/types/animations/module.d.ts +0 -749
- package/types/core/animate/animate-css.d.ts +1 -1
- package/types/core/animate/helpers.d.ts +8 -0
- package/types/directive/options/options.d.ts +1 -1
- package/types/services/cookie-reader.d.ts +1 -6
- package/types/services/http-backend/http-backend.d.ts +0 -1
- package/src/services/document.js +0 -67
- package/types/services/document.d.ts +0 -41
package/package.json
CHANGED
package/src/angular.spec.js
CHANGED
|
@@ -2049,14 +2049,6 @@ describe("angular", () => {
|
|
|
2049
2049
|
expect(toJson({ $few: "v" }, false)).toEqual('{"$few":"v"}');
|
|
2050
2050
|
});
|
|
2051
2051
|
|
|
2052
|
-
it("should not serialize $window object", () => {
|
|
2053
|
-
expect(toJson(window)).toEqual('"$WINDOW"');
|
|
2054
|
-
});
|
|
2055
|
-
|
|
2056
|
-
it("should not serialize $document object", () => {
|
|
2057
|
-
expect(toJson(document)).toEqual('"$DOCUMENT"');
|
|
2058
|
-
});
|
|
2059
|
-
|
|
2060
2052
|
it("should not serialize scope instances", () => {
|
|
2061
2053
|
expect(toJson({ key: $rootScope })).toEqual('{"key":"$SCOPE"}');
|
|
2062
2054
|
});
|
|
@@ -23,9 +23,8 @@ export function $$AnimateCssDriverProvider($$animationProvider) {
|
|
|
23
23
|
"$animateCss",
|
|
24
24
|
"$$AnimateRunner",
|
|
25
25
|
"$rootElement",
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const bodyNode = $document[0].body;
|
|
26
|
+
function ($animateCss, $$AnimateRunner, $rootElement) {
|
|
27
|
+
const bodyNode = document.body;
|
|
29
28
|
const rootNode = getDomNode($rootElement);
|
|
30
29
|
|
|
31
30
|
const rootBodyElement = JQLite(
|
|
@@ -146,14 +146,12 @@ export function $$AnimateQueueProvider($animateProvider) {
|
|
|
146
146
|
this.$get = [
|
|
147
147
|
"$rootScope",
|
|
148
148
|
"$rootElement",
|
|
149
|
-
"$document",
|
|
150
149
|
"$$animation",
|
|
151
150
|
"$$AnimateRunner",
|
|
152
151
|
"$templateRequest",
|
|
153
152
|
function (
|
|
154
153
|
$rootScope,
|
|
155
154
|
$rootElement,
|
|
156
|
-
$document,
|
|
157
155
|
$$animation,
|
|
158
156
|
$$AnimateRunner,
|
|
159
157
|
$templateRequest,
|
|
@@ -739,7 +737,7 @@ export function $$AnimateQueueProvider($animateProvider) {
|
|
|
739
737
|
* d) the element is not a child of the $rootElement
|
|
740
738
|
*/
|
|
741
739
|
function areAnimationsAllowed(node, parentNode) {
|
|
742
|
-
const bodyNode =
|
|
740
|
+
const bodyNode = document.body;
|
|
743
741
|
const rootNode = getDomNode($rootElement);
|
|
744
742
|
|
|
745
743
|
let bodyNodeDetected = node === bodyNode || node.nodeName === "HTML";
|