Commit dcd1f275 authored by Gerson Sunyé's avatar Gerson Sunyé

Remive unused (legacy) files

parent fa3203ee
Pipeline #15918 passed with stages
in 1 minute and 15 seconds
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Software Construction and Evolution</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"/>
<link rel="stylesheet" href="bower_components/reveal.js/css/reveal.css"/>
<link rel="stylesheet" href="resources/css/custom.css"/>
<link rel="stylesheet" href="bower_components/reveal.js/css/theme/simple.css" id="theme"/>
<!-- For syntax highlighting -->
<link rel="stylesheet" href="bower_components/highlightjs/styles/zenburn.css"/>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'bower_components/reveal.js/css/print/pdf.css' : 'bower_components/reveal.js/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="bower_components/reveal.js/lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown="slides/index.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/construction.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/mapping.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/behavior.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/evolution.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/refactorings.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/unit-test.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/tdd-en.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/generation.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/patterns.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/ci.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
<section data-markdown="slides/maven.md" data-separator="^\n---$" data-separator-vertical="^\n----$"></section>
</div>
</div>
<script src="bower_components/reveal.js/lib/js/head.min.js"></script>
<script src="bower_components/reveal.js/js/reveal.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
slideNumber: true,
width: 1280,
height: 800,
margin:0,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'bower_components/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'bower_components/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'bower_components/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'bower_components/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( '[data-html]' ) || !!document.querySelector( 'pre code' ) || !!document.querySelector( '[data-markdown]' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'bower_components/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: 'bower_components/reveal.js/plugin/notes/notes.js', async: true },
{ src: 'js/loadhtmlslides.js', condition: function() { return !!document.querySelector( '[data-html]' ); } }
]
});
</script>
</body>
</html>
{
"name": "headjs",
"description": "HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>",
"version": "1.0.3",
"license" : "MIT",
"authors": [
{"name": "Tero Piirainen"},
{"name": "Robert Hoffmann"}
],
"homepage " : "http://headjs.com",
"main" : ["./dist/1.0.0/head.min.js","./dist/1.0.0/head.min.js.map","./dist/1.0.0/changelog.txt"],
"ignore": [
"**",
"!/dist/1.0.0/*.js",
"!/dist/1.0.0/*.map",
"!/dist/1.0.0/*.txt"
],
"directory": "public/scripts",
"repository": {
"type": "git", "url": "git://github.com/headjs/headjs.git"
},
"keywords": [
"loader",
"require",
"polyfill",
"html5",
"css3",
"feature",
"responsive"
]
}
\ No newline at end of file
1.0.3 (2013-11-22)
- New: Timeout added to resource loading
- New: CSS callbacks now executed for all browsers
- https://github.com/headjs/headjs/pull/273
- New: Changed how file extensions are parsed for detecting css files
- in the future, we will need to add a way to supply a filetype when loading resources via scripts like: style.aspx, style.php
- Fix: Array loading & trigger not functioning correctly on old browsers
- https://github.com/headjs/headjs/issues/274
- Fix: ready() sometimes does not trigger if assets are loaded too fast
- https://github.com/headjs/headjs/issues/271
1.0.2 (2013-11-13)
- Fix: no-js class not being removed
- https://github.com/headjs/headjs/issues/270
1.0.1 (2013-11-05)
- Fix: Old IE's can trigger ready too soon
- https://github.com/headjs/headjs/issues/203
1.0.0 (2013-11-04)
- New: Detect Windows 8 Mobile (Surface RT/Pro), IE11, Kindle, and other Android devices
- New: Add Browser & Version CSS no matter what browser breakpoints are configured
- Example: .ff .ff20
- There is no need to cycle through all browser versions in 90% of cases
- Makes it possible to work without any breakpoints at all
- New: Improved CSS Router
- https://github.com/headjs/headjs/issues/227
- New: Added "main" HTML5 element to shim
- https://github.com/headjs/headjs/pull/230
- New: Enable/Disable HTML5 Shim in head_conf
- New: Load files from Array of Files or Array of Labels
- head.load(["file1", "file2"], callBack);
- head.load([{ label1: "file1" }, { label2: "file2" }], callBack);
- https://github.com/headjs/headjs/issues/139
- New: Possibility to wait for multiple labels or files
- head.ready(["label1", "label2"], callBack);
- head.ready(["file1.js", "file2.js"], callBack);
- https://github.com/headjs/headjs/pull/212
- New: Load file via data attribute on HeadJS script tag
- data-headjs-load="configuration.js"
- https://github.com/headjs/headjs/pull/213
- New: Source map files have been added for all minified JS files
- Fix: Prevent loading empty strings
- https://github.com/headjs/headjs/pull/184
- Fix: CSS classes getting bigger on successive resizes under Chrome
- https://github.com/headjs/headjs/issues/226
- Fix: Invalid regular expression for CSS detection
- https://github.com/headjs/headjs/issues/255
- Fix: callback failing to trigger under certain cirumstances
- https://github.com/headjs/headjs/issues/262
- Divers: Changed window.frameElement detection
- https://github.com/headjs/headjs/pull/257
- Divers: Cleaned up a bunch of syntaxt to conform to JSHint
- Now using a very strict .jshintrc
- Divers: Added missing .gitattributes
0.99 (2012-11-15)
- Load: Fixed regression in IE6, caused by IE10 fix
- Load: CSS loading seems to work in all browsers.
- However a few will not trigger the callback. Over 90% do.
- Either don't use it, or only load css in situations when you don't need the callback triggered.
- Load: Conditional loading with head.test() now in evaluation phase
- try it, but don't rely on it yet
- head.test(bool, "ok.js", "failed.js", callback)
- All: CDN is now availiable thanks to: http://cloudflare.com
- Info in download section on main site
- Unit Tests
- Integrated with main site so that everyone can participate
- They have also been hooked up to automatically report stats back to http://browserscope.org
0.98 (2012-11-09)
- Load: Fixed loading bug in IE10
- Load: Corrected some issues with loading from inside &lt;head&gt;
- Load: Rewrite of large parts of code base
- Started to massively document the sourcecode :)
- Css3: moved "touch" detection from core to here
- Css3: added "retina" detection
- Css3: replaced "font-face" detection that was using "Conditional Comments" with simplisitc browser version detection
- Core: Added gt, gte, lte, eq classes to width detection (lt existed already)
- Core: Added gt, gte, lt, lte, eq classes for browser vendor & version detection
- By default only lt/gt classes are activated
- You can of course configure to your likings via head_conf
0.97a (2012-10-20)
- Updated QUnit &amp; got unit tests running again
- Swictched to "use strict"
- Fixed up some variable usage
- Added browser detections other than just for ie-lt
- updated browser regexes (firefox, safari, opera, ios, android, webkit)
- detect if browser is: desktop, mobile, touch enabled
- detect portrait/landscape mode
- html5 shim now only triggers on ie-lt9
- added a throttle to onResize, since some browsers fire tons of events/sec
- added corrected height/width measurements, but only exposed via new object: head.screen
- contains height/width, innerHeight/innerWidth, outerHeight/outerWidth
- force all css router names to lowercase just in case ppl try typing in names with wierd casings
\ No newline at end of file
///#source 1 1 /src/1.0.0/core.js
/*! head.core - v1.0.2 */
/*
* HeadJS The only script in your <HEAD>
* Author Tero Piirainen (tipiirai)
* Maintainer Robert Hoffmann (itechnology)
* License MIT / http://bit.ly/mit-license
* WebSite http://headjs.com
*/
(function(win, undefined) {
"use strict";
// gt, gte, lt, lte, eq breakpoints would have been more simple to write as ['gt','gte','lt','lte','eq']
// but then we would have had to loop over the collection on each resize() event,
// a simple object with a direct access to true/false is therefore much more efficient
var doc = win.document,
nav = win.navigator,
loc = win.location,
html = doc.documentElement,
klass = [],
conf = {
screens : [240, 320, 480, 640, 768, 800, 1024, 1280, 1440, 1680, 1920],
screensCss: { "gt": true, "gte": false, "lt": true, "lte": false, "eq": false },
browsers : [
{ ie: { min: 6, max: 11 } }
//,{ chrome : { min: 8, max: 33 } }
//,{ ff : { min: 3, max: 26 } }
//,{ ios : { min: 3, max: 7 } }
//,{ android: { min: 2, max: 4 } }
//,{ webkit : { min: 9, max: 12 } }
//,{ opera : { min: 9, max: 12 } }
],
browserCss: { "gt": true, "gte": false, "lt": true, "lte": false, "eq": true },
html5 : true,
page : "-page",
section : "-section",
head : "head"
};
if (win.head_conf) {
for (var item in win.head_conf) {
if (win.head_conf[item] !== undefined) {
conf[item] = win.head_conf[item];
}
}
}
function pushClass(name) {
klass[klass.length] = name;
}
function removeClass(name) {
// need to test for both space and no space
// https://github.com/headjs/headjs/issues/270
// https://github.com/headjs/headjs/issues/226
var re = new RegExp(" ?\\b" + name + "\\b");
html.className = html.className.replace(re, "");
}
function each(arr, fn) {
for (var i = 0, l = arr.length; i < l; i++) {
fn.call(arr, arr[i], i);
}
}
// API
var api = win[conf.head] = function() {
api.ready.apply(null, arguments);
};
api.feature = function(key, enabled, queue) {
// internal: apply all classes
if (!key) {
html.className += " " + klass.join(" ");
klass = [];
return api;
}
if (Object.prototype.toString.call(enabled) === "[object Function]") {
enabled = enabled.call();
}
pushClass((enabled ? "" : "no-") + key);
api[key] = !!enabled;
// apply class to HTML element
if (!queue) {
removeClass("no-" + key);
removeClass(key);
api.feature();
}
return api;
};
// no queue here, so we can remove any eventual pre-existing no-js class
api.feature("js", true);
// browser type & version
var ua = nav.userAgent.toLowerCase(),
mobile = /mobile|android|kindle|silk|midp|phone|(windows .+arm|touch)/.test(ua);
// useful for enabling/disabling feature (we can consider a desktop navigator to have more cpu/gpu power)
api.feature("mobile" , mobile , true);
api.feature("desktop", !mobile, true);
// http://www.zytrax.com/tech/web/browser_ids.htm
// http://www.zytrax.com/tech/web/mobile_ids.html
ua = /(chrome|firefox)[ \/]([\w.]+)/.exec(ua) || // Chrome & Firefox
/(iphone|ipad|ipod)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Mobile IOS
/(android)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Mobile Webkit
/(webkit|opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Safari & Opera
/(msie) ([\w.]+)/.exec(ua) ||
/(trident).+rv:(\w.)+/.exec(ua) || [];
var browser = ua[1],
version = parseFloat(ua[2]);
switch (browser) {
case "msie":
case "trident":
browser = "ie";
version = doc.documentMode || version;
break;
case "firefox":
browser = "ff";
break;
case "ipod":
case "ipad":
case "iphone":
browser = "ios";
break;
case "webkit":
browser = "safari";
break;
}
// Browser vendor and version
api.browser = {
name: browser,
version: version
};
api.browser[browser] = true;
for (var i = 0, l = conf.browsers.length; i < l; i++) {
for (var key in conf.browsers[i]) {
if (browser === key) {
pushClass(key);
var min = conf.browsers[i][key].min;
var max = conf.browsers[i][key].max;