binhend 1.5.1 → 1.5.2

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/code.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binhend",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "Nguyen Duc Binh",
package/src/code.js CHANGED
@@ -168,8 +168,7 @@ function getComponentBaseCodes(component, rootPath) {
168
168
  var codes = [];
169
169
 
170
170
  if (componentCode) {
171
- var url = getRelativeFilePath(component.filename, rootPath);
172
- codes.push(`Binh.${component.type}('${url}', ${component.type})${optionCode};`);
171
+ codes.push(`Binh.${component.type}(${component.type})${optionCode};`);
173
172
  codes.push(`${componentCode}\r\n`);
174
173
  }
175
174