Skip to content

Commit

Permalink
moved file for example/
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Jun 21, 2017
1 parent d34313b commit 96432b8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
14 changes: 6 additions & 8 deletions index.css → example/index.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
* {
font-family: 'Arial', sans-serif;
}
}

.container {
max-width: 1024px;
padding: 0 15px;
padding: 15px;
margin: 0 auto;
overflow: auto;
}

h1 {
text-align: center;
}

.text {
width: 50%;
margin: auto;
}

.text p {
border: 1px solid #ccc;
padding: 5px;
border-radius: 5px;
padding: 10px;
}

.tests {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<title>Ellipsed Text Testing</title>

<link rel="stylesheet" href="./index.css">
<script type="text/javascript" src="./bower_components/jquery/dist/jquery.min.js"></script>
<link rel="stylesheet" href="./example/index.css">
<script type="text/javascript" src="./example/bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="./ellipsed.js"></script>
</head>
<body>
Expand Down Expand Up @@ -32,6 +32,6 @@ <h1>Ellipsed Text Testing</h1>
</div>
</div>

<script type="text/javascript" src="./index.js"></script>
<script type="text/javascript" src="./example/index.js"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ellipsed",
"version": "0.0.0",
"description": "Javascirpt library for multilined text ellipsis",
"main": "index.html",
"version": "0.1.0",
"description": "A JavaScript library for multilined text ellipsis",
"main": "ellipsis.js",
"dependencies": {
"serve": "^5.2.3"
},
Expand Down

0 comments on commit 96432b8

Please sign in to comment.