Comments (2)
I managed to have the compiler name the function correctly using the @JsName
annotation (see here).
This is probably not prettiest approach, but if no other is found, it can be used as a fallback.
Also, I have no clue why the copiler mangles the name without the annotation or why it works with the annotation.
from trend.
I have found the cause:
I did not add a @JsExport
to the TrendmarkBuilder
interface. The reason for that was that the compiler / IntelliSense complained that interfaces are not supported in JS and therefore should not be exported. However, when exporting the interface the do not get mangled.
from trend.
Related Issues (20)
- Update GitHub Actions to Latest Node Version
- Remove file specific watermarks
- Rename `Textmark` to `TextWatermark`
- Add functions to insert and extract Trendmarks and Textmarks to FileWatermarker
- The watermarker pipeline does not check weather the other components can be build
- The `cli` and `webinterface` components are no longer buildable after PR #57
- Create Initial Documentation Structure
- Integrate Watermarker API Documentation in Docusaurus
- Create Minimal Watermarking Example in Docusaurus
- Add Markdown Linter for Documentation
- Update outdated JS examples
- Follow REUSE Guidelines for Licensing
- TextWatermarker: support TrendmarkBuilder in getMinimumInsertPositions
- Rename all variants of `Trendmark` to `...Trendmark`
- Javascript incomptibilities after #55
- Publish Initial Documentation
- Bad Java function names for members which return booleans
- Enable Automatic Docusaurus Updates
- Add a dedicated method that returns the watermark content as a string to the Watermark class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trend.