Skip to content

Commit

Permalink
[removed] Dependency on react/lib/merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Jul 22, 2014
1 parent a381cf6 commit ebf54ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/helpers/Path.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var invariant = require('react/lib/invariant');
var merge = require('react/lib/merge');
var qs = require('querystring');
var mergeProperties = require('./mergeProperties');
var URL = require('./URL');

var paramMatcher = /((?::[a-z_$][a-z0-9_$]*)|\*)/ig;
Expand Down Expand Up @@ -117,7 +117,7 @@ var Path = {
var existingQuery = Path.extractQuery(path);

if (existingQuery)
query = query ? merge(existingQuery, query) : existingQuery;
query = query ? mergeProperties(existingQuery, query) : existingQuery;

var queryString = query && qs.stringify(query);

Expand Down

0 comments on commit ebf54ab

Please sign in to comment.