opal

WebJar for opal

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

opal
Последняя версия

Последняя версия

0.7.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

opal
WebJar for opal
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/opal/opal-cdn

Скачать opal

Имя Файла Размер
opal-0.7.0.pom
opal-0.7.0.jar 3 MB
opal-0.7.0-sources.jar 22 bytes
opal-0.7.0-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/opal/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>opal</artifactId>
    <version>0.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/opal/
implementation 'org.webjars.bower:opal:0.7.0'
// https://jarcasting.com/artifacts/org.webjars.bower/opal/
implementation ("org.webjars.bower:opal:0.7.0")
'org.webjars.bower:opal:jar:0.7.0'
<dependency org="org.webjars.bower" name="opal" rev="0.7.0">
  <artifact name="opal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='opal', version='0.7.0')
)
libraryDependencies += "org.webjars.bower" % "opal" % "0.7.0"
[org.webjars.bower/opal "0.7.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Opal CDN distribution

URL scheme

//cdn.opalrb.com/opal/<VERSION>/opal.js
//cdn.opalrb.com/opal/<VERSION>/opal.min.js
//cdn.opalrb.com/opal/<VERSION>/opal.min.js.gz

Where <VERSION> is the desired version number or current, examples:

//cdn.opalrb.com/opal/0.10.1/opal.js
//cdn.opalrb.com/opal/0.9.4/date.min.js
//cdn.opalrb.com/opal/current/base64.min.js.gz

Embedding in your HTML

<!doctype html>
<html>
<head>
  <script src="http://cdn.opalrb.com/opal/current/opal.min.js"></script>
  <script src="http://cdn.opalrb.com/opal/current/native.min.js"></script>
  <script src="http://cdn.opalrb.com/opal/current/opal-parser.min.js"></script>
  <script type="text/javascript">Opal.load('opal-parser')</script>
  <script type="text/javascript">Opal.load('native')</script>
</head>
<body>
  <script type="text/ruby">
  #<![CDATA[
    puts 'Hello from the console!'
    $$[:document].write %{
<!doctype html>
<html>
<head>
  <style>body{font-family:sans-serif;font-weight:100;}</style>
</head>
<body>
<h1 id="opal_cdn_distribution">Opal CDN distribution</h1>

<h2 id="url_scheme">URL scheme</h2>

<pre><code>//cdn.opalrb.com/opal/&lt;VERSION&gt;/opal.js
//cdn.opalrb.com/opal/&lt;VERSION&gt;/opal.min.js
//cdn.opalrb.com/opal/&lt;VERSION&gt;/opal.min.js.gz
</code></pre>

<p>Where <code>&lt;VERSION&gt;</code> is the desired version number or <code>current</code>, examples:</p>

<pre><code>//cdn.opalrb.com/opal/0.10.1/opal.js
//cdn.opalrb.com/opal/0.9.4/date.min.js
//cdn.opalrb.com/opal/current/base64.min.js.gz
</code></pre>

<h2 id="license">License</h2>

<p>See <a href="http://example.com/">http://opalrb.com</a>.</p>
</body>
</html>
    }
  #]]>
  </script>
</body>
</html>

Updating

Opal

From the opal dir, assuming there's a checkout of the gh-pages branch of opal-cdn in the cdn/ folder:

$ rake dist DIR=cdn/opal/0.7.0.dev
$ rake dist DIR=cdn/opal/master

External libraries

$ opal-build -ropal/browser browser     > cdn/external/0.6.2/opal-browser-0.2.0.beta1.js
$ opal-build -ropal-jquery  opal-jquery > cdn/external/0.6.2/opal-jquery-0.2.0.js

License

See http://opalrb.com.

org.webjars.bower

Opal

Ruby ♥︎ JavaScript

Версии библиотеки

Версия
0.7.0