Comments (6)
The code, or the screenshot? I think the code is in sync unless if I'm missing something
from devtools-snippets.
The searchvalue argument in replace function. "//g" and "/+/g"
return { "Key": qs.split("=")[0], "Value": qs.split("=")[1], "Pretty Value": decodeURIComponent(qs.split("=")[1]).replace(//g," ") }
return { "Key": qs.split("=")[0], "Value": qs.split("=")[1], "Pretty Value": decodeURIComponent(qs.split("=")[1]).replace(/+/g," ") }
from devtools-snippets.
Ah I see that now, thanks. Maybe is a bug with the rakefile at: https://github.com/bgrins/devtools-snippets/blob/master/Rakefile, because gh-pages is up to date after running rake build
from devtools-snippets.
Hm, well running pygmentize -f html snippets/querystringvalues/querystringvalues.js
seems to produce the correct output so it's not that
from devtools-snippets.
And it appears OK in the snippets.json file: https://bgrins.github.io/devtools-snippets/snippets.json
from devtools-snippets.
Well, I'm not sure why but the /+/g
is still there in the markup
variable before the call to with_markup = template.gsub(regex, markup)
in the rakefile:
Line 40 in d401680
with_markup
seems to be //g
as far as I can tell.from devtools-snippets.
Related Issues (18)
- Add prominent link to repository and improve styling on http://bgrins.github.io/devtools-snippets/ HOT 1
- jquerify - Bump jquery CDN link to 2.0.3 HOT 2
- Mention Firefox Scratchpad as well HOT 5
- Is that possible to store snippets in files and load into Chrome? HOT 12
- Some suggestions HOT 8
- Reorganize project layout HOT 2
- Export to XML HOT 9
- Update README to reflect that snippets are now in stable releases HOT 1
- Automate run of snippet HOT 2
- Keyboard Shortcuts? HOT 5
- Enhanced formcontrols.js HOT 2
- console.save in android HOT 1
- Export/import window not popping up upon running the snippet HOT 2
- After console.save, the HTML element disappears from the console
- Code is under Copyright - license information missing
- Code Snippets Sync
- List all undefined CSS classes
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 devtools-snippets.