yux-storage
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "yux-storage", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "yux-storage 是一个基于 HTML5 IndexedDB 封装的 Web 本地数据离线存储库", | ||
@@ -5,0 +5,0 @@ "main": "yux-storage.js", |
@@ -11,7 +11,8 @@ /** | ||
constructor(projectName) { | ||
constructor(projectName = 'yux-project') { | ||
this.projectName = projectName; | ||
this.ready(projectName); | ||
} | ||
ready(projectName='yux-project') { | ||
ready(projectName=this.projectName) { | ||
return new Promise((resolve, reject) => { | ||
@@ -18,0 +19,0 @@ if (this.db) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14100
122