Comments (5)
I don't get it. Add a variable for you to change at your local copy? Why don't you change your local copy of js files directly?
from twister-html.
Because if i change it in the code, i'll have to redo the change after every commit/pull, and so will everybody else who wants to run your code in a usable way.
I have to admit i didn't check yet where those variables are throughout the code, but i'm guess it's more than just one location.
Having those variables all in one location ('custom.js') will make it easier than having to go through all of the code every time. Consider it a config file with defaults which can be customized for the environment where your code is being deployed.
(It's not only about having to remember the odd port every time, but also about firewalls not allowing access to it - which is remedied by using 80/443 and mod_proxy.)
from twister-html.
All access to rpc goes through twister_io.js.
"git pull" should do the merging for you. when it doesn't, usually "git stash" will do.
from twister-html.
Yes, i know my way around git, too. But i wasn't approaching this from a developer's perspective, this was supposed to be a "how can you make it easier for a semi-skilled end user to deploy".feature request/improvement.
from twister-html.
wontfix for now... if anybody wants to come forward with a patch, we'll review it.
from twister-html.
Related Issues (20)
- migrate to one page application HOT 4
- persistent storage maximum size reached HOT 2
- empty conversation window, after click on retwisted (.post-text) block
- following modal on chromium HOT 1
- invalid twistday date (local dates not match) HOT 4
- in IE font not work
- Decide message size limits and options HOT 14
- new location hash scheme HOT 6
- Adding webtorrent support HOT 18
- Can't see "Top Trends" section on low res screen when "Who to Follow" gets populated.
- Feature request: Angular HOT 1
- "Who to Follow" populated by default
- The search does not work if it is minimised. HOT 3
- Problems when sharing overlength texts
- What features should be implemented to set the Nin theme by default?
- Some features not available in the blaster branch HOT 1
- [blaster] tox/bitmessage links not displaying sometimes
- [blaster] favorite messages bug list
- Direct messages stop receiving on LocalStorage size overload
- Avatar mystics in direct messages
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 twister-html.