Skip to content

Commit

Permalink
Merge pull request #1790 from epergo/ep/remove-coffeescript
Browse files Browse the repository at this point in the history
Remove coffeescript
  • Loading branch information
jkowens authored Jul 16, 2022
2 parents 84bb041 + 0f21312 commit 9102d9b
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 381 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

* Breaking change: Remove support for Wlang as a template engine. [#1780](https://github.com/sinatra/sinatra/pull/1780) by Eloy Pérez

* Breaking change: Remove support for CoffeeScript as a template engine. [#1790](https://github.com/sinatra/sinatra/pull/1790) by Eloy Pérez

* Breaking change: Remove support for the defunct Less templating library. See [#1716](https://github.com/sinatra/sinatra/issues/1716), [#1715](https://github.com/sinatra/sinatra/issues/1715) for more discussion and background. [d1af2f1e](https://github.com/sinatra/sinatra/commit/d1af2f1e6c8710419dfe3102a660f7a32f0e67e3) by Olle Jonsson

* Breaking change: Remove Reel integration. [54597502](https://github.com/sinatra/sinatra/commit/545975025927a27a1daca790598620038979f1c5) by Olle Jonsson
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ gem 'nokogiri', '> 1.5.0'
gem 'rainbows', platforms: [ :ruby ]
gem 'eventmachine'
gem 'slim', '~> 4'
gem 'coffee-script', '>= 2.0'
gem 'rdoc'
gem 'kramdown'
gem 'creole'
Expand Down
19 changes: 0 additions & 19 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ diesen Server verwenden.
- [Slim Templates](#slim-templates)
- [Creole Templates](#creole-templates)
- [MediaWiki Templates](#mediawiki-templates)
- [CoffeeScript Templates](#coffeescript-templates)
- [Yajl Templates](#yajl-templates)
- [Auf Variablen in Templates zugreifen](#auf-variablen-in-templates-zugreifen)
- [Templates mit `yield` und verschachtelte Layouts](#templates-mit-yield-und-verschachtelte-layouts)
Expand Down Expand Up @@ -928,24 +927,6 @@ Layouts nicht in MediaWiki geschrieben werden. Es ist aber möglich,
einen Renderer für die Templates zu verwenden und einen anderen für das
Layout, indem die `:layout_engine`-Option verwendet wird.

#### CoffeeScript Templates

<table>
<tr>
<td>Abhängigkeit</td>
<td><a href="https://github.com/josh/ruby-coffee-script">coffee-script</a>
und eine <a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme">Möglichkeit JavaScript auszuführen</a>.
</td>
</tr>
<td>Dateierweiterung</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Beispiel</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Yajl Templates

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Se recomienda ejecutar `gem install puma`, porque Sinatra lo utilizará si está
- [Plantillas Slim](#plantillas-slim)
- [Plantillas Creole](#plantillas-creole)
- [MediaWiki Templates](#mediawiki-templates)
- [Plantillas CoffeeScript](#plantillas-coffeescript)
- [Plantillas Yajl](#plantillas-yajl)
- [Accediendo a Variables en Plantillas](#accediendo-a-variables-en-plantillas)
- [Plantillas con `yield` y `layout` anidado](#plantillas-con-yield-y-layout-anidado)
Expand Down Expand Up @@ -930,30 +929,6 @@ Nota que también puedes llamar al método `mediawiki` desde dentro de otras pla
Debido a que no puedes llamar a Ruby desde MediaWiki, no puedes usar los diseños escritos en MediaWiki.
De todas maneras, es posible usar otro motor de renderizado para esa plantilla pasando la opción :layout_engine.

#### Plantillas CoffeeScript

<table>
<tr>
<td>Dependencias</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> y un
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
mecanismo para ejecutar javascript
</a>
</td>
</tr>
<tr>
<td>Extensiones de Archivo</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Ejemplo</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Plantillas Yajl

<table>
Expand Down
26 changes: 0 additions & 26 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ Sinatra utilise le server Thin quand il est disponible.
- [Templates Slim](#templates-slim)
- [Templates Creole](#templates-creole)
- [Templates MediaWiki](#templates-mediawiki)
- [Templates CoffeeScript](#templates-coffeescript)
- [Templates Yajl](#templates-yajl)
- [Accéder aux variables dans un Template](#accéder-aux-variables-dans-un-template)
- [Templates avec `yield` et layouts imbriqués](#templates-avec-yield-et-layouts-imbriqués)
Expand Down Expand Up @@ -936,31 +935,6 @@ pas utiliser de layouts écrits en MediaWiki. Toutefois, il est
possible d’utiliser un moteur de rendu différent pour le template et
pour le layout en utilisant l’option `:layout_engine`.

#### Templates CoffeeScript

<table>
<tr>
<td>Dépendances</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a>
et un
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
moyen d'exécuter javascript
</a>
</td>
</tr>
<tr>
<td>Extensions de fichier</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Exemple</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Templates Yajl

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ PumaがあればSinatraはこれを利用するので、`gem install puma`する
- [Slim テンプレート](#slim-テンプレート)
- [Creole テンプレート](#creole-テンプレート)
- [MediaWiki テンプレート](#mediawiki-テンプレート)
- [CoffeeScript テンプレート](#coffeescript-テンプレート)
- [Yajl テンプレート](#yajl-テンプレート)
- [テンプレート内での変数へのアクセス](#テンプレート内での変数へのアクセス)
- [`yield`を伴うテンプレートとネストしたレイアウト](#yieldを伴うテンプレートとネストしたレイアウト)
Expand Down Expand Up @@ -845,30 +844,6 @@ erb :overview, :locals => { :text => mediawiki(:introduction) }

ノート: 他のテンプレートから部分的に`mediawiki`メソッドを呼び出すことも可能です。

#### CoffeeScript テンプレート

<table>
<tr>
<td>依存</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> および
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
JavaScriptの起動方法
</a>
</td>
</tr>
<tr>
<td>ファイル拡張子</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>例</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Yajl テンプレート

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ thin이 설치되어 있을 경우 Sinatra는 thin을 통해 실행합니다.
- [Slim 템플릿](#slim-템플릿)
- [Creole 템플릿](#creole-템플릿)
- [MediaWiki 템플릿](#mediawiki-템플릿)
- [CoffeeScript 템플릿](#coffeescript-템플릿)
- [Yajl 템플릿](#yajl-템플릿)
- [템플릿에서 변수에 접근하기](#템플릿에서-변수에-접근하기)
- [템플릿에서의 `yield` 와 중첩 레이아웃](#템플릿에서의-yield-와-중첩-레이아웃)
Expand Down Expand Up @@ -851,30 +850,6 @@ MediaWiki에서 루비를 호출할 수 없기 때문에, MediaWiki으로 작성
사용할 수 없습니다. 하지만, `:layout_engine` 옵션으로 레이아웃의 템플릿을
다른 렌더링 엔진으로 렌더링 할 수는 있습니다.

#### CoffeeScript 템플릿

<table>
<tr>
<td>의존성</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> 와
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
자바스크립트 실행법
</a>
</td>
</tr>
<tr>
<td>파일 확장자</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>예제</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Yajl 템플릿

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.malayalam.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ View at: [http://localhost:4567](http://localhost:4567)
- [Slim Templates](#slim-templates)
- [Creole Templates](#creole-templates)
- [MediaWiki Templates](#mediawiki-templates)
- [CoffeeScript Templates](#coffeescript-templates)
- [Yajl Templates](#yajl-templates)
- [Accessing Variables in Templates](#accessing-variables-in-templates)
- [Templates with `yield` and nested layouts](#templates-with-yield-and-nested-layouts)
Expand Down Expand Up @@ -898,30 +897,6 @@ Since you cannot call Ruby from MediaWiki, you cannot use layouts written in
MediaWiki. However, it is possible to use another rendering engine for the
template than for the layout by passing the `:layout_engine` option.

#### CoffeeScript Templates

<table>
<tr>
<td>Dependency</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> and a
<a href="https://github.com/sstephenson/execjs" title="ExecJS">
way to execute javascript
</a>
</td>
</tr>
<tr>
<td>File Extension</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Example</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Yajl Templates

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ pick up if available.
- [Slim Templates](#slim-templates)
- [Creole Templates](#creole-templates)
- [MediaWiki Templates](#mediawiki-templates)
- [CoffeeScript Templates](#coffeescript-templates)
- [Yajl Templates](#yajl-templates)
- [Accessing Variables in Templates](#accessing-variables-in-templates)
- [Templates with `yield` and nested layouts](#templates-with-yield-and-nested-layouts)
Expand Down Expand Up @@ -925,30 +924,6 @@ Since you cannot call Ruby from MediaWiki, you cannot use layouts written in
MediaWiki. However, it is possible to use another rendering engine for the
template than for the layout by passing the `:layout_engine` option.

#### CoffeeScript Templates

<table>
<tr>
<td>Dependency</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> and a
<a href="https://github.com/sstephenson/execjs" title="ExecJS">
way to execute javascript
</a>
</td>
</tr>
<tr>
<td>File Extension</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Example</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Yajl Templates

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ którego Sinatra użyje jeżeli będzie dostępny.
- [Slim Templates](#slim-templates)
- [Creole Templates](#creole-templates)
- [MediaWiki Templates](#mediawiki-templates)
- [CoffeeScript Templates](#coffeescript-templates)
- [Stylus Templates](#stylus-templates)
- [Yajl Templates](#yajl-templates)
- [Accessing Variables in Templates](#accessing-variables-in-templates)
Expand Down Expand Up @@ -923,30 +922,6 @@ Since you cannot call Ruby from MediaWiki, you cannot use layouts written in
MediaWiki. However, it is possible to use another rendering engine for the
template than for the layout by passing the `:layout_engine` option.

#### CoffeeScript Templates

<table>
<tr>
<td>Dependency</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> and a
<a href="https://github.com/sstephenson/execjs" title="ExecJS">
way to execute javascript
</a>
</td>
</tr>
<tr>
<td>File Extension</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Example</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Stylus Templates

<table>
Expand Down
25 changes: 0 additions & 25 deletions README.pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ disponível, o Sinatra irá utilizá-la.
- [Slim Templates](#slim-templates)
- [Creole Templates](#creole-templates)
- [MediaWiki Templates](#mediawiki-templates)
- [CoffeeScript Templates](#coffeescript-templates)
- [Yajl Templates](#yajl-templates)
- [Acessando Variáveis nos Templates](#acessando-variáveis-nos-templates)
- [Templates com `yield` e layouts aninhados](#templates-com-yield-e-layouts-aninhados)
Expand Down Expand Up @@ -977,30 +976,6 @@ pode utilizar um layout escrito em MediaWiki. Contudo é
possível utilizar outra engine de renderização como template,
deve-se passar a `:layout_engine` como opção.

#### CoffeeScript Templates

<table>
<tr>
<td>Dependência</td>
<td>
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
CoffeeScript
</a> and a
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
way to execute javascript
</a>
</td>
</tr>
<tr>
<td>Extensão do Arquivo</td>
<td><tt>.coffee</tt></td>
</tr>
<tr>
<td>Exemplo</td>
<td><tt>coffee :index</tt></td>
</tr>
</table>

#### Yajl Templates

<table>
Expand Down
Loading

0 comments on commit 9102d9b

Please sign in to comment.