Comments (9)
type something then press CMD + 1
from sol.
@ospfranco : I would never understand how to use it.
in this way, when can the text sent be large?
from sol.
When I do CMD + 1, the browser with the email also opens.
from sol.
- don't understand the question
- I know, this needs a tutorial
- there is some problem with listeners/mobx and hot reload, do a hard reload and it will work fine
from sol.
@ospfranco : In this case with the call how can you not have problems with cors?
from sol.
CORS is a browser feature, react-native can do requests to wherever it pleases
from sol.
@ospfranco , Ok, it would have been nice if the browser worked.
I did a test with the script on react-native
, using my device as an emulator.
It works well, but the console comes back to me with a strange problem:
translatorLanguage.tsx (113:35)
Parsing error: Unexpected token, expected ";"
(ESLint)
111 | try {
112 |
> 113 | length = /^\d+/.exec(json)![0]
| ^
114 |
115 | json = JSON.parse(
116 | json.slice(length.length, parseInt(length, 10) + length.length), (null)
Does that check serve to verify if it is not null
?
Why haven't you used RegExp
?
P.s.
That semicolon at the beginning what is it for?
;(json[1][0][0][5] as any).forEach(function (obj: any) {
Link: snack
from sol.
I don't know which code are you pointing me to, that looks like the code from the translation library but that shouldn't be your concern, I meant more about language handling and the list of supported languages.
https://github.com/ospfranco/google_translate_supported_languages
from sol.
Will take care of setting translation languages and the whole setting UI for it later
from sol.
Related Issues (20)
- for last two (or more) versions sparkle update check results in `Update Error!` HOT 7
- Calculator in launcher HOT 3
- How to run it in dev mode? HOT 3
- How to close this app? HOT 2
- Extra features went missing after an update. HOT 3
- How do I stop Sol from disappearing in a test environment? HOT 2
- Fuzzy search HOT 4
- No source files HOT 1
- Is the Emoji Picker working? HOT 4
- Linux build HOT 2
- How to manage shortcuts HOT 4
- add option to not autostart Sol on launch HOT 7
- Persistent Clipboard History HOT 4
- website throwing 404 HOT 1
- no issue
- Find App that are symlinked HOT 1
- Cannot open Safari HOT 1
- 1.1.94 crashing - updater failing to replace app, crash soon after open after manual install, app not signed HOT 15
- Enabling notifications crashes the app HOT 5
- Linux support HOT 1
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 sol.