-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev'
- Loading branch information
Showing
61 changed files
with
1,012 additions
and
9,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory": "src/components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
/src/components | ||
|
||
/node_modules | ||
/docs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
language: node_js | ||
node_js: | ||
- "0.8" | ||
before_install: | ||
- "npm cache clean ." | ||
script: | ||
- "npm install -g grunt-cli" | ||
- "grunt test" | ||
- "npm install -g bower" | ||
- "bower install" | ||
- "grunt test --verbose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "lavaca", | ||
"main": "lavaca.js", | ||
"version": "2.3.0", | ||
"homepage": "https://github.com/mutualmobile/lavaca", | ||
"authors": [ | ||
"Mutual Mobile <[email protected]>" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"jquery": "http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.js", | ||
"dustjs-linkedin": "https://github.com/georgehenderson/dustjs.git#2.0.4", | ||
"dustjs-linkedin-helpers": "~1.1.1", | ||
"require-dust": "https://github.com/georgehenderson/require-dust.git#master", | ||
"mout": "~0.7.1", | ||
"es5-shim": "~2.1.0", | ||
"requirejs ": "~2.1.8", | ||
"iscroll ": "~5.0.5", | ||
"less.js": "~1.4.2", | ||
"hammerjs": "https://github.com/EightMedia/hammer.js.git#1.0.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
define(function(require) { | ||
|
||
var $ = require('$'); | ||
|
||
/** | ||
* Static utility type for working with Cordova (aka PhoneGap) and other non-standard native functionality | ||
* @class lavaca.env.Device | ||
*/ | ||
|
||
var Device = {}; | ||
|
||
/** | ||
* Indicates whether or not the app is being run through Cordova | ||
* @method isCordova | ||
* @static | ||
* | ||
* @return {Boolean} True if app is being run through Cordova | ||
*/ | ||
Device.isCordova = function() { | ||
return !!window.cordova; | ||
}; | ||
|
||
/** | ||
* Executes a callback when the device is ready to be used | ||
* @method init | ||
* @static | ||
* | ||
* @param {Function} callback The handler to execute when the device is ready | ||
*/ | ||
Device.init = function(callback) { | ||
if (!Device.isCordova()) { | ||
$(document).ready(callback); | ||
} else if (document.addEventListener) { | ||
// Android fix | ||
document.addEventListener('deviceready', callback, false); | ||
} else { | ||
$(document).on('deviceready', callback); | ||
} | ||
}; | ||
|
||
return Device; | ||
|
||
}); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.