vue-hot-reload-api
Advanced tools
Comparing version
@@ -40,2 +40,4 @@ var Vue // late bind | ||
exports.createRecord = function (id, options) { | ||
if(map[id]) { return } | ||
var Ctor = null | ||
@@ -55,2 +57,12 @@ if (typeof options === 'function') { | ||
/** | ||
* Check if module is recorded | ||
* | ||
* @param {String} id | ||
*/ | ||
exports.isRecorded = function (id) { | ||
return typeof map[id] !== 'undefined' | ||
} | ||
/** | ||
* Make a Component options object hot. | ||
@@ -57,0 +69,0 @@ * |
{ | ||
"name": "vue-hot-reload-api", | ||
"version": "2.2.4", | ||
"version": "2.3.0", | ||
"description": "hot reload api for *.vue components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
10027
1.76%222
4.23%