Skip to content

Commit

Permalink
added minified versions + reorganized the folders + removed unused jq…
Browse files Browse the repository at this point in the history
…uery file
  • Loading branch information
sebmatton committed Apr 5, 2014
1 parent f7df729 commit 0906559
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 9 deletions.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions css/flightindicators.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
/*
* jQuery Flight Indicators (https://github.com/sebmatton/jQuery-Flight-Indicators)
* Licensed under GPLv3
*/

/* Global block of an indicator*/
div.instrument {
width: 250px;
height: 250px;
position: relative;
display: inline-block;
overflow: hidden;
}

/* The box containing any element of an indicator */
div.instrument .box {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* Default transformations */

div.instrument.attitude div.roll {
transform: rotate(0deg);
}
Expand Down
1 change: 1 addition & 0 deletions css/flightindicators.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<head>
<meta charset="utf-8">
<!-- Syntax coloration -->
<link rel="stylesheet" type="text/css" href="examples_data/prism/prism.css" />
<link rel="stylesheet" type="text/css" href="_examples_data/prism/prism.css" />
<!-- This page style -->
<link rel="stylesheet" type="text/css" href="examples_data/style.css" />
<link rel="stylesheet" type="text/css" href="_examples_data/style.css" />
<!-- Flight Indicators library styles -->
<link rel="stylesheet" type="text/css" href="css/flightindicators.css" />
<title>jQuery Flight Indicators Plugin</title>
Expand Down Expand Up @@ -92,7 +92,7 @@ <h2>Realtime indicators</h2>
</footer>

<!-- Syntax color -->
<script src="examples_data/prism/prism.js"></script>
<script src="_examples_data/prism/prism.js"></script>

<!-- Importing jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions flightindicators.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "flightindicators",
"title": "Flight Indicators jQuery Plugin",
"description": "allows you to display high quality flight indicators using html, css3, jQuery and SVG images.",
"version": "1.0.2",
"keywords": [
"flight",
"indicator",
Expand All @@ -14,7 +15,6 @@
"monitoring",
"realtime"
],
"version": "1.0.1",
"author": {
"name": "Sébastien Matton",
"url": "https://github.com/sebmatton/jQuery-Flight-Indicators"
Expand All @@ -30,6 +30,6 @@
"docs": "https://github.com/sebmatton/jQuery-Flight-Indicators",
"download": "https://github.com/sebmatton/jQuery-Flight-Indicators",
"dependencies": {
"jquery": ">=1.5"
"jquery": ">=1.8"
}
}
4 changes: 4 additions & 0 deletions js/jquery.flightindicators.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* jQuery Flight Indicators (https://github.com/sebmatton/jQuery-Flight-Indicators)
* Licensed under GPLv3
*/
(function($) {
function FlightIndicator( placeholder, type, options ) {
// Initial configuration
Expand Down
5 changes: 5 additions & 0 deletions js/jquery.flightindicators.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions js/jquery.js

This file was deleted.

0 comments on commit 0906559

Please sign in to comment.