It's illegible but I'd have to try it. If I were to implement a full version I'd rather get all query parameters in an Object and grab a specific one as needed. That solution also doesn't consider multiple parameters with the same name. 

There's also the issue that other places in my code assume no other url parameters are used: such as setting the project url param or clearing the query string if the project couldn't be loaded. 

> On Mar 4, 2014, at 3:41 PM, hpinkos <notifications@github.com> wrote:
> 
> In Source/modules/Welcome.js:
> 
> > @@ -12,11 +12,56 @@ define([
> >          $) {
> >      'use strict';
> >  
> > +    function getProjectNameFromUrl() {
> any problem with:
> 
> var getParameterByName = function (name) {
> var match = new RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
> return match && decodeURIComponent(match[1].replace(/+/g, ' '));
> };
> 
> —
> Reply to this email directly or view it on GitHub.