@angular-wave/angular.ts 0.0.73 → 0.1.1

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@angular-wave/angular.ts",
3
3
  "description": "A modern, optimized and typesafe version of AngularJS",
4
4
  "license": "MIT",
5
- "version": "0.0.73",
5
+ "version": "0.1.1",
6
6
  "type": "module",
7
7
  "main": "dist/angular-ts.esm.js",
8
8
  "browser": "dist/angular-ts.umd.js",
@@ -391,7 +391,7 @@ export function $AnimateCssProvider() {
391
391
  }
392
392
 
393
393
  if (!options.$$skipPreparationClasses) {
394
- element[0].classList.add(preparationClasses);
394
+ element[0].classList.add(preparationClasses.split(" ").filter(x => x !== ""));
395
395
  }
396
396
 
397
397
  let applyOnlyDuration;
@@ -785,7 +785,7 @@ export function $AnimateCssProvider() {
785
785
 
786
786
  applyAnimationClasses(element, options);
787
787
 
788
- element[0].classList.add(activeClasses);
788
+ element[0].classList.add(activeClasses.split(" ").filter(x => x !== ""));
789
789
  if (flags.recalculateTimingStyles) {
790
790
  cacheKey = $$animateCache.cacheKey(
791
791
  node,
@@ -1,11 +1,4 @@
1
- import {
2
- forEach,
3
- isFunction,
4
- isObject,
5
- isString,
6
- minErr,
7
- extend,
8
- } from "../shared/utils";
1
+ import { isFunction, isObject, minErr, extend } from "../shared/utils";
9
2
  import { JQLite } from "../shared/jqlite/jqlite";
10
3
  import { NG_ANIMATE_CLASSNAME } from "./shared";
11
4
 
@@ -16,12 +16,12 @@ const SIMPLE_ATTR_NAME = /^\w/;
16
16
  const specialAttrHolder = window.document.createElement("div");
17
17
 
18
18
  /**
19
- * @typedef {Object} AnyStringKeyObject
20
- * @property {Record<string, any>} [key]
19
+ * @typedef {Object} AttributeLike
20
+ * @property {Object} $attr
21
21
  */
22
22
 
23
23
  /**
24
- * @extends {AnyStringKeyObject}
24
+ * @extends {AttributeLike}
25
25
  */
26
26
  export class Attributes {
27
27
  /**