Berlin Mauerweg
Random JavaScript question
Solved! Special thanks to @Japh and John Blackbourne for figuring out where I went wrong 🙂
I’m trying to abstract some strings from a JavaScript file, but I can’t get it to work. I’m hoping some kind soul somewhere out there on the interwebz can tell me what stupidly obvious thing I am missing.
The code is buried in something which is manipulating a Backbone.js script. No matter what I do, I can’t use a variable with the “routes” section and am not sure how to work around that. You can see an example with the “blabla” variable below:
var blabla = 'boober';
// Sets up the routes events for relevant url queries
themes.Router = Backbone.Router.extend({
routes: {
blabla: 'this should be a boober',
'test': 'test',
'another-test': 'yes it is a test'
},
Any ideas on how this works and how I can go about working around it?
I don’t really understand the syntax used there, which is probably not helping my understanding of it :/
Big thanks to anyone who is able to assist me in figuring this out 🙂
Laterjet procedure
Almost three years on, and my shoulder feels great. My left arm will never have a full range of movement (I can’t point directly upwards with it), but it is at least stable and I don’t constantly fear it falling out of the socket any longer 🙂
Here is a video of someone else receiving the treatment.
WordPress.com posting
Evie on WordPress
Flying turtle
Fat Ryan after running 6 km
The gods
Those gods you name, are mere false idols. The real gods will strike down thee with furious vengeance and anger. Thy kingdom come; Thy pasta will be done; as it is at Dominoes. Amen.
Ruined business model
In reference to my business being ruined:
I had a business which was obliterated by WordPress including it’s functionality in core (it was menus). My plugin became mostly irrelevant overnight, as the implementation in core was much better than I had in my own plugin.
I saw that as more of a failing on my part than anything else though. If my plugin was good enough, then I would have gotten a lot of kudos and advertising purely from having that functionality bundled into core. I would have been the goto person for menu stuff in core. As it stood, I was that guy who made a half-baked plugin that sort of did what people wanted, but not quite, then core got menus and my plugin and services became irrelevant.
My point being … if your plugin is good enough, then I think there are benefits to having your stuff rolled into core.
If your plugin is not good enough, and core implements something better, then you just become a sheep who got squashed during the process of WordPress improving itself. Everyone benefits (well, apart from you perhaps, but you are just one person in a sea of millions).








