Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small changes to make j2cl and closure happier with this lib
- Loading branch information
1 parent
ea837c2
commit 6ed87c2
Showing
3 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
core/src/main/java/com/axellience/vuegwt/core/client/VueGWT.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
goog.provide("vuegwt"); | ||
|
||
/** @define {string} */ | ||
goog.define("vuegwt.environment", "production"); | ||
vuegwt.environment = goog.define("vuegwt.environment", "production"); | ||
|
||
/** @define {string} */ | ||
goog.define("superdevmode", "off"); | ||
var superdevmode = goog.define("superdevmode", "off"); |
21 changes: 21 additions & 0 deletions
21
core/src/main/java/com/axellience/vuegwt/core/client/customelement/VueCustomElement.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @externs | ||
*/ | ||
var VueCustomElement = {}; | ||
/** | ||
* | ||
* @param {Object} param | ||
* @return {Element} | ||
*/ | ||
VueCustomElement.createElement = function(param) {}; | ||
|
||
/** | ||
* @type {Object} | ||
*/ | ||
Element.prototype.__vue_custom_element__; | ||
|
||
/** | ||
* @param {Object} param | ||
* @return {Function} | ||
*/ | ||
Function.prototype.extend = function(param) {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters