1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
Description: Fix examples to use libjs from /usr/share/javascript
Refresh with something like:
grep -l -r dist/vue.min.js examples/* | \
xargs sed -i 's/..\/..\/dist\/vue.min.js/\/javascript\/vue\/vue.min.js/g'
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>
--- a/examples/commits/index.html
+++ b/examples/commits/index.html
@@ -19,7 +19,7 @@
}
</style>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
</head>
<body>
<div id="demo">
--- a/examples/elastic-header/index.html
+++ b/examples/elastic-header/index.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Vue.js elastic header example</title>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
<script src="http://dynamicsjs.com/lib/dynamics.js"></script>
<link rel="stylesheet" href="style.css">
<!-- template for the component -->
--- a/examples/firebase/index.html
+++ b/examples/firebase/index.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Vue -->
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase.js"></script>
<!-- VueFire -->
--- a/examples/grid/index.html
+++ b/examples/grid/index.html
@@ -5,7 +5,7 @@
<title>Vue.js grid component example</title>
<link rel="stylesheet" href="style.css">
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
</head>
<body>
--- a/examples/markdown/index.html
+++ b/examples/markdown/index.html
@@ -7,7 +7,7 @@
<script src="https://unpkg.com/marked@0.3.6"></script>
<script src="https://unpkg.com/lodash@4.16.0"></script>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
</head>
<body>
--- a/examples/modal/index.html
+++ b/examples/modal/index.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Vue.js modal component example</title>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
--- a/examples/move-animations/index.html
+++ b/examples/move-animations/index.html
@@ -32,7 +32,7 @@
</style>
<script src="https://cdn.jsdelivr.net/lodash/4.3.0/lodash.min.js"></script>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
</head>
<body>
<div id="el">
--- a/examples/select2/index.html
+++ b/examples/select2/index.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Vue.js wrapper component example (jquery plugin: select2)</title>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
<script src="https://unpkg.com/jquery"></script>
<script src="https://unpkg.com/select2@4.0.3"></script>
<link href="https://unpkg.com/select2@4.0.3/dist/css/select2.min.css" rel="stylesheet">
--- a/examples/svg/index.html
+++ b/examples/svg/index.html
@@ -5,7 +5,7 @@
<title>Vue.js SVG graph example</title>
<link rel="stylesheet" href="style.css">
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
<script src="https://unpkg.com/marky/dist/marky.min.js"></script>
</head>
<body>
--- a/examples/todomvc/index.html
+++ b/examples/todomvc/index.html
@@ -63,7 +63,7 @@
if (navigator.userAgent.indexOf('PhantomJS') > -1) localStorage.clear()
</script>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
<script src="app.js"></script>
</body>
</html>
--- a/examples/tree/index.html
+++ b/examples/tree/index.html
@@ -21,7 +21,7 @@
}
</style>
<!-- Delete ".min" for console warnings in development -->
- <script src="../../dist/vue.min.js"></script>
+ <script src="/javascript/vue/vue.min.js"></script>
</head>
<body>
|