Giter Site home page Giter Site logo

Comments (5)

miguelfreitas avatar miguelfreitas commented on September 26, 2024

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.

jangrewe avatar jangrewe commented on September 26, 2024

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.

miguelfreitas avatar miguelfreitas commented on September 26, 2024

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.

jangrewe avatar jangrewe commented on September 26, 2024

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.

toyg avatar toyg commented on September 26, 2024

wontfix for now... if anybody wants to come forward with a patch, we'll review it.

from twister-html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.