@@ -5,4 +5,2 @@ 'use strict'; | ||
| var cloneObj = require('./clone-obj'); | ||
| function get(obj, path) { | ||
@@ -50,8 +48,3 @@ var hash = path.split('#')[1]; | ||
| if (id !== target.id) { | ||
| target = cloneObj(target); | ||
| target.id = $.resolveURL(target.id, id); | ||
| } | ||
| return target; | ||
| }; |
+2
-2
| { | ||
| "name": "deref", | ||
| "version": "0.2.5", | ||
| "version": "0.2.6", | ||
| "description": "JSON-Schema $ref resolution", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
| "type": "git", | ||
| "url": "https://github.com/pateketrueke/deref" | ||
| "url": "https://github.com/gextech/deref" | ||
| }, | ||
@@ -11,0 +11,0 @@ "devDependencies": { |
+1
-1
@@ -140,2 +140,2 @@ Do you have $ref's ? | ||
| [](https://travis-ci.org/pateketrueke/deref) [](http://badge.fury.io/js/deref) [](https://coveralls.io/r/pateketrueke/deref?branch=master) | ||
| [](https://travis-ci.org/gextech/deref) [](http://badge.fury.io/js/deref) [](https://coveralls.io/r/gextech/deref?branch=master) |
10224
-1.65%257
-1.91%