Giter Site home page Giter Site logo

publicjs's Introduction

publicjs

Now I am using this repo for publish my small scripts with https://www.jsdelivr.com/

URL for pulbish

https://cdn.jsdelivr.net/gh/otis22/[email protected]/path-to-file.js

Or without VERSION if you need latest VERSION

https://cdn.jsdelivr.net/gh/otis22/publicjs/path-to-file.js

For using import file button:

  1. Insert script tag on page
<script src="https://cdn.jsdelivr.net/gh/otis22/publicjs/vmfile/import.js"></script>
  1. Insert button with for file import
<button onclick="openPopup(this)" data-type="special_studies" data-url="https://trello-attachments.s3.amazonaws.com/5894c09e496fceb170144b05/5b558e4d1acb88c979ba84ca/d5a167fa56a6c979a819cdefa3c76f8d/report_83.vmrc">Импорт</button>

Where

  • onclick="openPopup(this)" - it is required
  • data-type="special_studies" - for special studies templates
  • data-url="http://" - url with file

publicjs's People

Contributors

otis22 avatar danilyer228 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.