Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pinguxx/sm-pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
pinguxx committed May 28, 2015
2 parents fd8b933 + 99dec7a commit 54a4694
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Basic pagination for mithril and semantic

It requires mithril and semantic-ui-menu

Pagination file can be used with any common.js it is expect for mithril to be in global (m variable) or it will attempt to load it with `require('mithril')`, [webpack](http://webpack.github.io/docs/) its recommended
Pagination file can be used with any common.js it is expect for [mithril](https://github.com/lhorie/mithril.js) to be in global (m variable) or it will attempt to load it with `require('mithril')`, [webpack](http://webpack.github.io/docs/) its recommended

![Example](pagination_example.png)

## Code Example
## Demo

See complete code in test.html/js
[Demo](http://pinguxx.github.io/sm-pagination/)

```html
<!DOCTYPE html>
Expand Down Expand Up @@ -73,4 +73,4 @@ It accepts the following properties
* **rightIconClass**, applied to the right arrow icon item, defaults `right arrow icon`
* **iconItemClass**, applied to the icon item items, defaults `icon item`,
* **disabledClass**, applied to disaled items, defaults `disabled`
* **menuClass**, applied to the menu pagination parent div, defaults `ui pagination menu small`
* **menuClass**, applied to the menu pagination parent div, defaults `ui pagination menu small`
2 changes: 1 addition & 1 deletion test.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/1.10.3/semantic.min.css">
<script src="bower_components/mithril/mithril.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mithril/0.1.33/mithril.min.js"></script>
<script src="Pagination.js"></script>
</head>
<body>
Expand Down

0 comments on commit 54a4694

Please sign in to comment.