Skip to content

Commit

Permalink
fix(jquery): コードサンプルを修正。 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamap55 authored and azu committed Jun 7, 2016
1 parent ed701fb commit 0ca152b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ja/jQuery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ calculator.fn = calculator.prototype;
また、モジュールで依存関係を示していますがやっていることはjQueryと同じで、[calculator.js](#calculator.js)を読み込んでから[calculator-plugin.js](#calculator-plugin.js)を読み込んでいるだけですね。

```html
<script src="jquery.js"></script>
<script src="greenify.js"></script>
<script src="calculator.js"></script>
<script src="calculator-plugin.js"></script>
```

これを使うと`calculator#add`といったメソッドが利用できるようになるので、以下のように書くことが出来ます。
Expand Down

0 comments on commit 0ca152b

Please sign in to comment.