Giter VIP home page Giter VIP logo

Comments (6)

rodneyrehm avatar rodneyrehm commented on May 31, 2024

look at jsbin.com to host the examples. embed is a wizard to customize the embed appearance. It may be possible to provide the example code to jsbin via gists. we may need to use a proxy to be able to load the JS sources from github in a jsbin.

from ally.js.

rodneyrehm avatar rodneyrehm commented on May 31, 2024

for the proxy stuff see the explanation and use rawgit.com

from ally.js.

rodneyrehm avatar rodneyrehm commented on May 31, 2024

rendering gist in JSBin

embedding gist by JS

<!-- all files sequentially -->
<script src="https://gist.github.com/rodneyrehm/11b94c9c9b9e90a8a6db.js"></script>
<!-- specific file -->
<script src="https://gist.github.com/rodneyrehm/11b94c9c9b9e90a8a6db.js?file=demo.css"></script>

from ally.js.

rodneyrehm avatar rodneyrehm commented on May 31, 2024

We may just use brcdn to serve the library for use in examples and demos [https://jsbin.com/rovisaq/edit?html,js,console,output](jsbin example)

from ally.js.

rodneyrehm avatar rodneyrehm commented on May 31, 2024

Consider writing a build step to create/update JSBin examples using the JSBin API

from ally.js.

rodneyrehm avatar rodneyrehm commented on May 31, 2024

examples can be published to jsbin using npm run publish:jsbin, following the embedding examples guide.

examples have been added to the docs.

from ally.js.

Related Issues (20)

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.