Skip to content

Commit 1bc9632

Browse files
committed
Mention UNPKG
1 parent f2a57ba commit 1bc9632

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

Gruntfile.coffee

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ module.exports = (grunt) ->
5454
# overwrite : true
5555
# replacements: [ {
5656
# from : /@DATE/g
57-
# to : "<%= grunt.template.today('yyyy-mm-dd\"T\"HH:MM') %>"
57+
# # https://github.com/felixge/node-dateformat
58+
# to : "<%= grunt.template.today('isoUtcDateTime') %>"
5859
# },{
5960
# from : /buildType:\s*\"[a-zA-Z]+\"/g
6061
# to : "buildType: \"production\""
@@ -152,7 +153,7 @@ module.exports = (grunt) ->
152153

153154
uglify:
154155
options:
155-
banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " + "<%= grunt.template.today('yyyy-mm-dd') %> | " + "<%= pkg.homepage ? ' ' + pkg.homepage + ' | ' : '' %>" + " Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" + " Licensed <%= _.map(pkg.licenses, 'type').join(', ') %> */\n"
156+
banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " + "<%= grunt.template.today('yyyy-mm-dd') %> | " + "<%= pkg.homepage ? ' ' + pkg.homepage + ' | ' : '' %>" + " Copyright (c) 2013 -<%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" + " Licensed <%= _.map(pkg.licenses, 'type').join(', ') %> */\n"
156157
report: "gzip"
157158

158159
build:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ First, include dependencies:
4343
* jQuery UI 1.9+ (at least core, widget, menu), 1.11+ recommended
4444
* One of the ThemeRoller CSS themes or a custom one
4545
* jquery.ui-contextmenu.js (also available as CDN on
46-
[jsdelivr](http://www.jsdelivr.com/#!jquery.ui-contextmenu)
47-
or [cdnjs](https://cdnjs.com/libraries/jquery.ui-contextmenu))
46+
[jsdelivr](http://www.jsdelivr.com/#!jquery.ui-contextmenu),
47+
[cdnjs](https://cdnjs.com/libraries/jquery.ui-contextmenu)), or
48+
[UNPKG](https://unpkg.com/ui-contextmenu@latest/jquery.ui-contextmenu.min.js)
4849

4950
```html
5051
<head>
51-
<link href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"
52-
type="text/css" rel="stylesheet" />
53-
<script src="//code.jquery.com/jquery-1.11.3.min.js" type="text/javascript"></script>
54-
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.min.js" type="text/javascript"></script>
55-
<script src="assets/jquery.ui-contextmenu.min.js" type="text/javascript"></script>
52+
<link href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" />
53+
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
54+
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
55+
<script src="assets/jquery.ui-contextmenu.min.js"></script>
5656
```
5757

5858
Assume we have some HTML elements that we want to attach a popup menu to:

0 commit comments

Comments
 (0)