All Questions
Tagged with source-code javascript
7 questions
-2
votes
2
answers
573
views
How to find all occurrences of a variable within a source code?
The title is pretty self-explanatory. I have a minified JavaScript code (100k+ lines) and would like to find all occurrences of a particular variable so I could rename it to better understand code. Is ...
1
vote
3
answers
275
views
What is the most readable way of passing arguments to the function? [closed]
I'm using JavaScript but the question can be generalized to all the languages.
In a nutshell - I'm checking if a browser connecting to my site is a microwave and cater for that accordingly.
What ...
0
votes
1
answer
548
views
Licensing: source code vs. production code in JavaScript
For commercial and licensing purposes, what is the correct wording for differentiating JavaScript source code (written by the programmer and including comments) from the minified version used in ...
14
votes
2
answers
35k
views
How do you change how intellij auto formats code? [closed]
IntelliJ does some odd formatting with Javascript code and I am trying to figure out how to get it to stop formatting this way. Whenever I chain jQuery functions together, it over indents the auto ...
3
votes
5
answers
657
views
View Source - is the Viewable markup important to you?
I just read a very compelling blog post from Scott Hanselman where he quoted colleague Erik Meijer as follows:
JavaScript is an assembly language. The JavaScript + HTML generate is like a .NET ...
1
vote
2
answers
507
views
Looking for quality sites built with JavaScript (not jQuery) to learn from their example [closed]
I'm new to JavaScript.
I've read JavaScript: The Good Parts and half of Professional JavaScript for Web Developers.
Now I want to follow this advice - find the best sites and look at their code.
As ...
5
votes
6
answers
380
views
Does my JavaScript look big in this?
As programmers, you have certain curtains to hide behind with your code. With PHP all of your code is server side preprocessed, so this never see's the light of day as far as the user is concerned. If ...