Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mediabounds committed Jan 22, 2017
0 parents commit e1191b6
Show file tree
Hide file tree
Showing 7 changed files with 151 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"directory": "src/plugins",
"registry": "http://adapt-bower-repository.herokuapp.com/"
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Float, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
46 changes: 46 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# FastClick Extension for Adapt
Improves the performance of courses on mobile devices by attaching [FastClick](https://ftlabs.github.io/fastclick/) to the entire Adapt course.

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.

License
--------
This extension is licensed under the MIT license (see [LICENSE](LICENSE)).

The source code also includes version 1.0.6 of [FastClick](https://ftlabs.github.io/fastclick/) which is also licensed under the MIT License:

```
Copyright (c) 2014 The Financial Times Ltd.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
```

Settings
--------
None.

Limitations
-----------
No known limitations.

-----------
**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.
18 changes: 18 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "adapt-fastclick",
"version": "1.0.0",
"framework": "^2.0.0",
"displayName": "FastClick",
"extension": "adapt-fastclick",
"authors": [
"Daniel Pfeiffer <dpfeiffer@gowithfloat.com>"
],
"description": "Improves the performance of courses on mobile devices by attaching FastClick to the entire Adapt course",
"main": "/js/adapt-fastclick.js",
"keywords": [
"adapt-plugin",
"adapt-extension"
],
"license": "MIT",
"homepage": "https://github.com/gowithfloat/adapt-fastclick"
}
7 changes: 7 additions & 0 deletions js/adapt-fastclick.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
define(function() {
require(["libraries/fastclick.min.js"], function(FastClick) {
$(function() {
FastClick.attach(document.body);
});
});
});
23 changes: 23 additions & 0 deletions libraries/fastclick.min.js

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

32 changes: 32 additions & 0 deletions properties.schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"required":false,
"properties":{
"pluginLocations": {
"type": "object",
"required":true,
"properties":{
"config": {
"type": "object"
},
"course": {
"type": "object"
},
"contentobject": {
"type": "object"
},
"article": {
"type": "object"
},
"block": {
"type": "object"
},
"component": {
"type": "object"
}
}
}
}
}

0 comments on commit e1191b6

Please sign in to comment.