Skip to content

Commit 9f421dc

Browse files
committed
Minor fixes. Bower.json added
1 parent 71e1791 commit 9f421dc

File tree

7 files changed

+50
-16
lines changed

7 files changed

+50
-16
lines changed

bower.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "timesheet.js",
3+
"version": "1.0.0",
4+
"homepage": "https://sbstjn.github.io/timesheet.js/",
5+
"authors": [
6+
"sbstjn <[email protected]>"
7+
],
8+
"description": "With Timesheet.js you can easily create simple time and data sheets or timelines using HTML5, JavaScript and CSS3. Yep, it's a Vanilla JS library!",
9+
"main": ["dist/timesheet.js", "dist/timesheet.css"],
10+
"moduleType": [
11+
"amd"
12+
],
13+
"keywords": [
14+
"timeline",
15+
"timesheet",
16+
"timebar",
17+
"line",
18+
"bar",
19+
"graph",
20+
"visualize",
21+
"chart"
22+
],
23+
"license": "MIT",
24+
"ignore": [
25+
"**/.*",
26+
"node_modules",
27+
"bower_components",
28+
"test",
29+
"tests",
30+
"screen.png",
31+
"source",
32+
"config.rb",
33+
"Gruntfile.js",
34+
"Gemfile",
35+
"Gemfile.lock",
36+
"package.json"
37+
]
38+
}

dist/timesheet.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/index.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#timesheet-default
88

9-
%p Just include Timesheet.js and configure your data. No external dependencies, no jQuery needed and of course no Angular.JS! Just a few lines JavaScript to generate a beautiful HTML5 layout and some really delicious CSS to be customized by mighty you.
9+
%p Just include Timesheet.js and configure your data. No external dependencies, no jQuery needed and of course no Angular.JS! Just a few lines JavaScript to generate a beautiful HTML5 layout and some really delicious CSS to be customized by almighty you.
1010

1111
%code
1212
%pre
@@ -36,4 +36,4 @@
3636

3737
%p It's that simple to use <span>Timesheet.js</span>. So, have a nice day, thank you for smoking and maybe try using Timesheet.js with custom styles …
3838

39-
%p.footer Timesheet.js is licensed under MIT License<br />Cheers to <a href="https://twitter.com/cheeaun">Cheeaun</a> and <a href="https://twitter.com/igrigorik/">Ilya</a><br /><br /><br /><span><a href="http://github.com/%3Cspan%20class="x x-first x-last">https://github.com/semu/timesheet.js">❤</a></span><br /><br /><a href="#dark" id="switch-dark">dark</a> | <a href="#light" id="switch-light">light</a>
39+
%p.footer Timesheet.js is licensed under <a href="https://github.com/sbstjn/timesheet.js/blob/master/LICENSE.md">MIT License</a><br />Cheers to <a href="https://twitter.com/cheeaun">Cheeaun</a> and <a href="https://twitter.com/igrigorik/">Ilya</a><br /><br /><br /><span><a href="http://github.com/%3Cspan%20class="x x-first x-last">http://S11K.com">❤</a></span><br /><br /><a href="#dark" id="switch-dark">dark</a> | <a href="#light" id="switch-light">light</a>

source/javascripts/main.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
(function(){
66
'use strict';
77

8-
var body = document.querySelector('body');
9-
108
Lib.ready(function() {
119
/* jshint -W031 */
1210
new Timesheet('timesheet-default', 2002, 2013, [
@@ -24,11 +22,11 @@
2422
]);
2523

2624
document.querySelector('#switch-dark').addEventListener('click', function() {
27-
body.className = 'index black';
25+
document.querySelector('body').className = 'index black';
2826
});
2927

3028
document.querySelector('#switch-light').addEventListener('click', function() {
31-
body.className = 'index white';
29+
document.querySelector('body').className = 'index white';
3230
});
3331
});
3432
})();

source/layouts/layout.haml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
%meta{:charset => 'utf-8'}
55
%meta{:content => 'IE=edge,chrome=1', 'http-equiv' => 'X-UA-Compatible'}
66
%meta{:property => 'og:title', :content => 'Timesheet.js'}
7-
%meta{:property => 'og:description', :content => 'With Timesheet.js you can create simple time and data sheets using HTML5, JavaScript and CSS3.'}
8-
%meta{:property => 'og:url', :content => 'https://semu.github.io/timesheet.js/'}
7+
%meta{:property => 'og:description', :content => 'With Timesheet.js you can easily create simple time and data sheets or timelines using HTML5, JavaScript and CSS3. Yep, it\'s a Vanilla JS library!'}
8+
%meta{:property => 'og:url', :content => 'https://sbstjn.github.io/timesheet.js/'}
99
%meta{:property => 'og:image', :content => 'https://raw.githubusercontent.com/semu/timesheet.js/master/screen.png'}
1010
%meta{:property => 'fb:admins', :content => '669118929'}
1111

1212
%title Timesheet.js - Open time tables with HTML, JavaScript and CSS …
1313

1414
= javascript_include_tag 'timesheet.js', 'main.js'
15-
= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Oxygen+Mono:400,600,800'
16-
= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,800'
17-
= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Signika+Negative:300,400,600,700'
15+
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Oxygen+Mono:400,600,800'
16+
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Open+Sans:400,600,800'
17+
= stylesheet_link_tag '//fonts.googleapis.com/css?family=Signika+Negative:300,400,600,700'
1818
= stylesheet_link_tag 'all.css'
1919
= yield_content :head
2020
%body.black{ :class => page_classes }

source/stylesheets/timesheet-white.css.sass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
background-color: rgba(67, 106, 224, 1)
3030
.bubble-dolor
3131
background-color: rgba(244, 210, 52, 1)
32-
.bubble-set
32+
.bubble-sit
3333
background-color: rgba(112, 125, 134, 1)
3434

3535

@@ -43,7 +43,6 @@
4343
section
4444
float: left
4545
width: 59px
46-
text-align: center
4746
color: rgba(50, 50, 50, 0.8)
4847
font-family: 'Signika Negative'
4948
font-size: 13px

source/stylesheets/timesheet.css.sass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
background-color: rgba(67, 106, 224, 1)
3030
.bubble-dolor
3131
background-color: rgba(244, 210, 52, 1)
32-
.bubble-set
32+
.bubble-sit
3333
background-color: rgba(112, 125, 134, 1)
3434

3535

@@ -67,7 +67,6 @@
6767
line-height: 22px
6868
height: 21px
6969
display: block
70-
cursor: pointer
7170
clear: both
7271
position: relative
7372
white-space: nowrap

0 commit comments

Comments
 (0)