A code mirror view plugin for BetaJS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demos
dist
docsrc
src
vendors
.codeclimate.yml
.gitignore
.project
Gruntfile.js
LICENSE
README.md
package-source.json
package.json

README.md

betajs-codemirror 1.0.7

Code Climate NPM

BetaJS-Codemirror is a Codemirror Plugin for the BetaJS Framework.

Getting Started

You can use the library in the browser and compile it as well.

Browser

	<script src="codemirror/codemirror.js"></script>
	<script src="betajs/dist/betajs.min.js"></script>
	<script src="betajs-browser/dist/betajs-browser.min.js"></script>
	<script src="betajs-dynamics/dist/betajs-dynamics.min.js"></script>
	<script src="betajs-codemirror/dist/betajs-codemirror.min.js"></script>

Compile

	git clone https://github.com/betajs/betajs-codemirror.git
	npm install
	grunt

Basic Usage

		<ba-codemirror ba-trim ba-language='html'>
			<div>
				<h1>H1 None</h1>
				<br />
				<strong>Strong 1</strong> Text 1 <code>Code 1</code><br />
				<code style="text-decoration: underline" >Code 2</code><strong> Strong 2</strong>
				<div style="font-size: 24px; font-family: Helvetica;">Text 2</div>
			</div>
		</ba-codemirror>
	BetaJS.Dynamics.Dynamic.activate();

Links

Resource URL
Homepage http://betajs.com
Git git://github.com/betajs/betajs-codemirror.git
Repository https://github.com/betajs/betajs-codemirror
Blog http://blog.betajs.com
Twitter http://twitter.com/thebetajs

CDN

Resource URL
betajs-codemirror.js http://cdn.rawgit.com/betajs/betajs-codemirror/master/dist/betajs-codemirror.js
betajs-codemirror.min.js http://cdn.rawgit.com/betajs/betajs-codemirror/master/dist/betajs-codemirror.min.js
betajs-codemirror-noscoped.js http://cdn.rawgit.com/betajs/betajs-codemirror/master/dist/betajs-codemirror-noscoped.js
betajs-codemirror-noscoped.min.js http://cdn.rawgit.com/betajs/betajs-codemirror/master/dist/betajs-codemirror-noscoped.min.js

Dependencies

Name URL
betajs Open
betajs-browser Open
betajs-dynamics Open

Weak Dependencies

Name URL
betajs-scoped Open

Main Contributors

  • Victor Lingenthal

License

Apache-2.0