Skip to content

Commit 60d6321

Browse files
committed
fixed module (ui/core/view) ref
1 parent 2af42a6 commit 60d6321

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"author": {
2727
"name": "Brad Martin",
28-
"email": "bradmartin0905@gmail.com",
28+
"email": "bradmartinwaynemartin@gmail.com",
2929
"url": "https://github.com/bradmartin"
3030
},
3131
"license": "Apache-2.0",

signaturepad-common.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ var __extends = (this && this.__extends) || function (d, b) {
33
function __() { this.constructor = d; }
44
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
55
};
6-
var view = require("ui/view");
6+
var view = require("ui/core/view");
77
var proxy_1 = require("ui/core/proxy");
88
var dependency_observable_1 = require("ui/core/dependency-observable");
99
var penColorProperty = new dependency_observable_1.Property("penColor", "SignaturePad", new proxy_1.PropertyMetadata(undefined, dependency_observable_1.PropertyMetadataSettings.None));
1010
var penWidthProperty = new dependency_observable_1.Property("penWidth", "SignaturePad", new proxy_1.PropertyMetadata(undefined, dependency_observable_1.PropertyMetadataSettings.None));
1111
var SignaturePad = (function (_super) {
1212
__extends(SignaturePad, _super);
13-
function SignaturePad() {
14-
_super.call(this);
13+
function SignaturePad(options) {
14+
_super.call(this, options);
1515
}
1616
Object.defineProperty(SignaturePad.prototype, "penColor", {
1717
get: function () {

signaturepad-common.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import definition = require("signaturepad");
2-
import view = require("ui/view");
2+
import view = require("ui/core/view");
33
import {PropertyMetadata} from "ui/core/proxy";
44
import {Property, PropertyMetadataSettings} from "ui/core/dependency-observable";
55

@@ -20,8 +20,8 @@ export class SignaturePad extends view.View implements definition.SignaturePad {
2020
public static penColorProperty = penColorProperty;
2121
public static penWidthProperty = penWidthProperty;
2222

23-
constructor() {
24-
super();
23+
constructor(options?: definition.Options) {
24+
super(options);
2525
}
2626

2727
get penColor(): number {

0 commit comments

Comments
 (0)