Sfoglia il codice sorgente

Remove a few more vue references

Kevin van Zonneveld 9 anni fa
parent
commit
b2a98f2233

+ 2 - 2
website/src/guide/installation.md

@@ -2,7 +2,7 @@
 title: Installation
 type: guide
 order: 0
-vue_version: 1.0.10
+uppy_version: 0.0.1
 dev_size: "240.69"
 min_size: "68.54"
 gz_size: "23.46"
@@ -22,7 +22,7 @@ Simply download and include with a script tag. `Uppy` will be registered as a gl
 
 ### CDN
 
-Available on [jsdelivr](//cdn.jsdelivr.net/uppy/{{vue_version}}/uppy.min.js) or [cdnjs](//cdnjs.cloudflare.com/ajax/libs/uppy/{{vue_version}}/uppy.min.js) (takes some time to sync so the latest version might not be available yet).
+Available on [assets.transloadt.com](//assets.transloadt.com/uppy/{{uppy_version}}/uppy.min.js) or [cdnjs](//cdnjs.cloudflare.com/ajax/libs/uppy/{{uppy_version}}/uppy.min.js) (takes some time to sync so the latest version might not be available yet).
 
 ### CSP-compliant build
 

+ 2 - 2
website/themes/uppy/_config.yml

@@ -1,3 +1,3 @@
-google_analytics: UA-46852172-1
+google_analytics: UA-63083-12
 root_domain: uppyjs.io
-vue_version: 1.0.10
+uppy_version: 0.0.1

+ 1 - 1
website/themes/uppy/layout/index.ejs

@@ -23,7 +23,7 @@
 
     </p>
     <p class="buttons">
-      <a href="/guide/installation.html" class="button">Install v<%- theme.vue_version %></a>
+      <a href="/guide/installation.html" class="button">Install v<%- theme.uppy_version %></a>
     </p>
     <ul id="social">
       <li><a href="https://twitter.com/transloadit" class="twitter-follow-button" data-show-count="false" data-dnt="true">Follow @transloadit</a></li>

+ 2 - 2
website/themes/uppy/source/js/uppy.js

@@ -1,5 +1,5 @@
 /*!
- * Uppy.js v1.0.10
+ * Uppy.js v0.0.1
  * (c) 2015 Transloadit
  * Released under the MIT License.
  */
@@ -9274,7 +9274,7 @@
     partial: partial
   };
 
-  Uppy.version = '1.0.10';
+  Uppy.version = '0.0.1';
 
   /**
    * Uppy and every constructor that extends Uppy has an

+ 2 - 2
website/update.js

@@ -7,7 +7,7 @@ var installation = fs.readFileSync(installPath, 'utf-8')
 
 fs.writeFileSync(
   themeconfPath,
-  themeconfig.replace(/vue_version: .*/, 'vue_version: ' + version)
+  themeconfig.replace(/uppy_version: .*/, 'uppy_version: ' + version)
 )
 
 var sizes = {
@@ -24,7 +24,7 @@ for (var file in sizes) {
 fs.writeFileSync(
   installPath,
   installation
-    .replace(/vue_version: .*/, 'vue_version: ' + version)
+    .replace(/uppy_version: .*/, 'uppy_version: ' + version)
     .replace(/(\w+)_size:.*/g, function (m, p1) {
       return p1 + '_size: "' + sizes[p1] + '"'
     })