Skip to content

Commit e1191b6

Browse files
committed
Initial commit
0 parents  commit e1191b6

7 files changed

Lines changed: 151 additions & 0 deletions

File tree

.bowerrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"directory": "src/plugins",
3+
"registry": "http://adapt-bower-repository.herokuapp.com/"
4+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Float, LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

ReadMe.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# FastClick Extension for Adapt
2+
Improves the performance of courses on mobile devices by attaching [FastClick](https://ftlabs.github.io/fastclick/) to the entire Adapt course.
3+
4+
FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic.
5+
6+
License
7+
--------
8+
This extension is licensed under the MIT license (see [LICENSE](LICENSE)).
9+
10+
The source code also includes version 1.0.6 of [FastClick](https://ftlabs.github.io/fastclick/) which is also licensed under the MIT License:
11+
12+
```
13+
Copyright (c) 2014 The Financial Times Ltd.
14+
15+
Permission is hereby granted, free of charge, to any person
16+
obtaining a copy of this software and associated documentation
17+
files (the "Software"), to deal in the Software without
18+
restriction, including without limitation the rights to use,
19+
copy, modify, merge, publish, distribute, sublicense, and/or sell
20+
copies of the Software, and to permit persons to whom the
21+
Software is furnished to do so, subject to the following
22+
conditions:
23+
24+
The above copyright notice and this permission notice shall be
25+
included in all copies or substantial portions of the Software.
26+
27+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
29+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
32+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
33+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
34+
OTHER DEALINGS IN THE SOFTWARE.
35+
```
36+
37+
Settings
38+
--------
39+
None.
40+
41+
Limitations
42+
-----------
43+
No known limitations.
44+
45+
-----------
46+
**FastClick Extension for Adapt** is a plugin for the Adapt Framework. [Adapt](https://www.adaptlearning.org) is a free and easy to use e-learning authoring tool that creates fully responsive, multi-device, HTML5 e-learning content using the award-winning Adapt developer framework.

bower.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "adapt-fastclick",
3+
"version": "1.0.0",
4+
"framework": "^2.0.0",
5+
"displayName": "FastClick",
6+
"extension": "adapt-fastclick",
7+
"authors": [
8+
"Daniel Pfeiffer <dpfeiffer@gowithfloat.com>"
9+
],
10+
"description": "Improves the performance of courses on mobile devices by attaching FastClick to the entire Adapt course",
11+
"main": "/js/adapt-fastclick.js",
12+
"keywords": [
13+
"adapt-plugin",
14+
"adapt-extension"
15+
],
16+
"license": "MIT",
17+
"homepage": "https://github.com/gowithfloat/adapt-fastclick"
18+
}

js/adapt-fastclick.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
define(function() {
2+
require(["libraries/fastclick.min.js"], function(FastClick) {
3+
$(function() {
4+
FastClick.attach(document.body);
5+
});
6+
});
7+
});

libraries/fastclick.min.js

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

properties.schema

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"type": "object",
3+
"$schema": "http://json-schema.org/draft-04/schema",
4+
"id": "http://jsonschema.net",
5+
"required":false,
6+
"properties":{
7+
"pluginLocations": {
8+
"type": "object",
9+
"required":true,
10+
"properties":{
11+
"config": {
12+
"type": "object"
13+
},
14+
"course": {
15+
"type": "object"
16+
},
17+
"contentobject": {
18+
"type": "object"
19+
},
20+
"article": {
21+
"type": "object"
22+
},
23+
"block": {
24+
"type": "object"
25+
},
26+
"component": {
27+
"type": "object"
28+
}
29+
}
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)