mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update wmi.js
This commit is contained in:
parent
7a98e9c8bf
commit
0a35ade427
|
@ -70,7 +70,7 @@ var WMIQueryObject = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
var WMIClassObject = function() {
|
var WMIClassObject = function() {
|
||||||
this._interface = (new WMIQueryObject()).interface;
|
this._interface = (new WMIQueryObject())._interface;
|
||||||
this.classObject = null;
|
this.classObject = null;
|
||||||
this.className = "";
|
this.className = "";
|
||||||
this.instance = null;
|
this.instance = null;
|
||||||
|
@ -143,7 +143,7 @@ var WMIClassObject = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
function create() {
|
function create() {
|
||||||
return new WMIQueryObject();
|
return new WMIQueryObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
function execQuery(query) {
|
function execQuery(query) {
|
||||||
|
@ -158,6 +158,6 @@ exports.create = create;
|
||||||
exports.execQuery = execQuery;
|
exports.execQuery = execQuery;
|
||||||
exports.setClass = setClass;
|
exports.setClass = setClass;
|
||||||
|
|
||||||
exports.VERSIONINFO = "WMI interface (wmi.js) version 0.1.2";
|
exports.VERSIONINFO = "WMI interface (wmi.js) version 0.1.3";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user