Skip to content

Commit

Permalink
Merge pull request #133 from npmcdn-to-unpkg-bot/npmcdn-to-unpkg
Browse files Browse the repository at this point in the history
Replace npmcdn.com with unpkg.com
  • Loading branch information
stefanocudini committed Aug 31, 2016
2 parents 9986d1c + 0e2a1b3 commit 780c02b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/requirejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ <h4>RequireJs Example: <em>load library by AMD module compatible</em></h4>
aquamarine, black, blue, cyan, darkblue, darkred, darkgray, dodgerblue, gray, green, red, skyblue, yellow, white ...
</div>

<script src="https://npmcdn.com/requirejs@2.2.0/require.js"></script>
<script src="https://unpkg.com/requirejs@2.2.0/require.js"></script>
<script>
require.config({
paths: {
"leaflet": "https://npmcdn.com/leaflet@0.7.7/dist/leaflet",
"leaflet": "https://unpkg.com/leaflet@0.7.7/dist/leaflet",
"leafletSearch": "../src/leaflet-search",
"data": "data/colors"
},
Expand Down

0 comments on commit 780c02b

Please sign in to comment.