Skip to content

Commit

Permalink
Merge pull request #16 from thingsinjars/patch-1
Browse files Browse the repository at this point in the history
Changed docs references from JSLA to HERE JavaScript API
  • Loading branch information
mmarcon committed Nov 2, 2013
2 parents 85f003d + 5112e4e commit b7cc447
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jhere.js
Expand Up @@ -507,7 +507,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this.map.overlays.add(hm);
};

//###Access the underlying JSLA framework
//###Access the underlying HERE JavaScript API framework
//`$('.selector').jHERE('originalMap', closure);`
//
//This is useful when advanced operations
Expand All @@ -518,8 +518,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//`closure` should look like this:
//<pre><code>function(map, here){
// //this is the DOM element
// //map is the JSLA map object
// //here is the whole JSLA API namespace
// //map is the HERE JavaScript API map object
// //here is the whole HERE JavaScript API namespace
//}</code></pre>
H.originalMap = function(closure) {
/*
Expand Down Expand Up @@ -711,7 +711,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//<pre><code class="dark">$.jHERE.extend('myextension', function(param1, param2){
// //this is the plugin object
// //this.element is the DOM element
// //this.map is the JSLA map
// //this.map is the HERE JavaScript API map
//});</code></pre>
//
//A good example of extension is the [routing extension](https://github.com/mmarcon/jhere/blob/master/src/extensions/route.js).
Expand Down

0 comments on commit b7cc447

Please sign in to comment.