Skip to content

Commit

Permalink
Version Number and Example Added
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnwildermuth committed May 12, 2015
1 parent b29fe9a commit 6f0f8d0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "travelMap",
"version": "1.0.0",
"version": "1.0.1",
"main": "travelmap.min.js",
"ignore": [
".git",
Expand Down
25 changes: 24 additions & 1 deletion example.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
// example.js
function
(function() {

var map = travelMap.createMap({
stops: [
{
lat: 33.748995,
long: -84.387982,
info: "Atlanta, Georgia - Departed Jun 3, 2014"
},
{
lat: 48.856614,
long: 2.352222,
info: "Paris, France - Jun 4-24, 2014"
},
{
lat: 50.850000,
long: 4.350000,
info: "Brussels, Belgium - Jun 25-27, 2014"
}
],
selector: "#map"
});

})();
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "travelmap",
"version": "1.0.0",
"version": "1.0.1",
"description": "Extension to GMaps to create a map of a trip.",
"main": "travelmap.js",
"directories": {
Expand All @@ -11,7 +11,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/shawnwildermuth/TravelMapJs"
"url": "https://github.com/shawnwildermuth/travelmap"
},
"keywords": [
"Gmaps"
Expand All @@ -31,10 +31,10 @@
}
],
"bugs": {
"url": "https://github.com/shawnwildermuth/TravelMapJs/issues"
"url": "https://github.com/shawnwildermuth/travelmap/issues"
},
"readme": "readme.md",
"homepage": "https://github.com/shawnwildermuth/TravelMapJs",
"homepage": "https://github.com/shawnwildermuth/travelmap",
"devDependencies": {
"gulp": "^3.8.11",
"gulp-jshint": "^1.10.0",
Expand Down
3 changes: 2 additions & 1 deletion travelmap.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//! travelmap.js
//! version : 0.01.0
//! version : 1.0.1
//! authors : Shawn Wildermuth
//! license : MIT
//! repo : https://github.com/shawnwildermuth/travelmap

// Build support for AMD or simple global (borrowed pattern from moment.js)
(function () {
Expand Down
2 changes: 1 addition & 1 deletion travelmap.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6f0f8d0

Please sign in to comment.