@ardimedia/angular-portal-azure 0.2.157 → 0.2.158

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.
Files changed (3) hide show
  1. package/apn.d.ts +5 -1
  2. package/apn.js +4 -0
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -36,7 +36,11 @@ declare var $: JQueryStatic;
36
36
  declare namespace angularportalazure {
37
37
  class Blade extends angularportalazure.UserControlBase {
38
38
  constructor($scope: angular.IScope, portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
39
- vm: {};
39
+ /** HACK: 2016-11-06/hp
40
+ [angular-portal-blade] needs [this] as the controller.
41
+ We don't know how to provide [this] to the directive.
42
+ So we came up with this [vm] property.*/
43
+ vm: any;
40
44
  private watcherTitle;
41
45
  bladeContentHeight: number;
42
46
  bladeContentHeightInner: number;
package/apn.js CHANGED
@@ -136,6 +136,10 @@ var angularportalazure;
136
136
  var _this = _super.call(this, $scope, portalService) || this;
137
137
  //#endregion
138
138
  //#region Properties
139
+ /** HACK: 2016-11-06/hp
140
+ [angular-portal-blade] needs [this] as the controller.
141
+ We don't know how to provide [this] to the directive.
142
+ So we came up with this [vm] property.*/
139
143
  _this.vm = {};
140
144
  _this.title = '';
141
145
  _this.subTitle = '';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ardimedia/angular-portal-azure",
3
3
  "description": "Angular Portal Azure - GUI Framework.",
4
4
  "author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
5
- "version": "0.2.157",
5
+ "version": "0.2.158",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {