I hereby claim:
- I am adityajadhav on github.
- I am adityajadhav (https://keybase.io/adityajadhav) on keybase.
- I have a public key whose fingerprint is 7D21 2609 9601 862B EA94 F88C E53E 80DE 2ECB A0E2
To claim this, I am signing this object:
AngularJS 1.1.5 - automatically adding hash tag to URLs | |
I experienced this issue just the other day. I solved it by enabling HTML5 mode | |
"Hash-Bang" navigation, as it's sometimes called,... | |
http://whatever.com/path/to/#!/some-ajax-state | |
With the adoption of AJAX, new content could be loaded into the current (already loaded) page. With this dynamic loading, several problems arose: 1) there was no unique URL for bookmarking or linking to this new content, 2) search would never see it. | |
Some smart people solved the first problem by using the hash as a sort of "state" reference to be included in links & bookmarks. After the document loads, the browser reads the hash and runs the AJAX requests, displaying the page plus its dynamic AJAX changes. | |
http://whatever.com/script.php#some-ajax-state |
I hereby claim:
To claim this, I am signing this object:
# JavaScript Notes | |
## Default argument values in JavaScript functions | |
function X(a = 4) { | |
return a; | |
} | |
console.log(X(null)) // null |
FROM node:8 | |
RUN apt-get update && apt-get install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++ | |
WORKDIR /usr/app | |
COPY package.json . | |
RUN npm install |