GithubHelp home page GithubHelp logo

ace-teleported's Introduction

ace-teleported

Demo package that uses ace (example for embedder).

This package consists of one module that bootstraps editor, require.js module loader and html page. All of the ace code is loaded from the dependency.

play with package

git clone git://github.com/Gozala/ace-teleported.git
npm link ace-teleported
teleport activate
open http://localhost:4747/ace-teleported/

Start writing, or drop local .js file over editor to see syntax highlighting etc...

ace-teleported's People

Contributors

gozala avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ace-teleported's Issues

Using Ace-Teleported with local linked Ace does not work

Hi - I find that the app works fine when using the Ace from NPM, but if I uninstall that, and clone the Ace repo, and link it, and try running the app, it does not work. I get a white screen, and some JS error such as


virtual_renderer.js:65Uncaught TypeError: Object # has no method 'createElement'
VirtualRenderervirtual_renderer.js:65
exports.embedembed.js:32
(anonymous function):4747/ace-teleported/:75
Promise._complete._onSuccessHandlers.lengthpromise.js:202
Promise._completepromise.js:201
Promise.resolvepromise.js:162
Promise.group.onSuccessFactorypromise.js:245
Promise._complete._onSuccessHandlers.lengthpromise.js:202
Promise._completepromise.js:201
Promise.resolvepromise.js:162
exports.Plugin.startupplugin_manager.js:113
req.execCbrequire.js:1404
req.execrequire.js:1367
req.checkLoadedrequire.js:1211
req.checkLoadedrequire.js:1223
resumerequire.js:166
req.completeLoadrequire.js:737
req.onScriptLoad

I'm not sure if this is a problem with Ace itself (the built editor works fine) or how teleport resolves its dependencies.. not sure if I need to do something different to get it to use a local linked version of Ace. I would like to make a teleported app which uses a forked version of Ace.

Readme missing some info

Hi, I'm trying to use ace-teleported but it's not working and I feel like something is missing from the Readme. It says:
git clone git://github.com/Gozala/ace-teleported.git
npm link ace-teleported
open http://localhost:4747/ace-teleported/

But shouldn't there be a command in there to start a server or something?

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.