Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用

Open
#428 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, r
Domain
frontend, web-dev

Research direction

The report concerns a JavaScript conflict between Echarts.js and adminLTE.js, but names no source file, test, or entry point. Start with the linked discussion and attached recording, then reproduce the collision; done should be an agreed, verified resolution for using both libraries together.

Written by the indexing model from the issue text.

Description

明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用
除了把它用htmlwidgets重写掉之外, 我想不出有什么解决的方法...

Originally posted by @Lchiffon in https://github.com/Lchiffon/REmap/issues/29#issuecomment-349586221

(1) prompt message~

prefer_conflicts('xxx$xxx', 'Echarts.js')
prefer_conflicts('xxx$xxx', 'adminLTE.js')

or (2) add the ifelse function in htmlwidgets package~

if(xxx == 'echarts.js') { 
   xxxxx
} else if(xxx == 'adminLTE.js') {
   xxxxx
}

https://user-images.githubusercontent.com/7227582/161288371-000ca42c-818d-4e00-9f77-e3186a0f1459.mp4

somebody take a look?

https://github.com/scibrokes/owner/issues/2#issuecomment-1085962755

Dominant language
R
Stars
801
Forks
204
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ramnathv/htmlwidgets

All issues in ramnathv/htmlwidgets

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.