-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit aad7edb
Showing
87 changed files
with
874 additions
and
0 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,9 @@ | ||
# Specifies intentionally untracked files to ignore when using Git | ||
# http://git-scm.com/docs/gitignore | ||
|
||
node_modules/ | ||
platforms/ | ||
plugins/ | ||
.vscode/ | ||
config/ | ||
simulation/ |
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,107 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<widget id="io.taco.hellotaco" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>HelloTaco</name> | ||
<description>A blank project that uses Apache Cordova to help you build an app that targets multiple mobile platforms: Android, iOS, Windows, and Windows Phone.</description> | ||
<author email="dev@cordova.apache.org" href="http://cordova.io">Apache Cordova Team</author> | ||
<content src="index.html" /> | ||
<access origin="*" /> | ||
<preference name="SplashScreen" value="screen" /> | ||
<preference name="windows-target-version" value="8.1" /> | ||
<preference name="windows-phone-target-version" value="8.1" /> | ||
<preference name="StatusBarOverlaysWebView" value="true" /> | ||
<plugin name="cordova-plugin-whitelist" spec="1" /> | ||
<allow-intent href="http://*/*" /> | ||
<allow-intent href="https://*/*" /> | ||
<allow-intent href="tel:*" /> | ||
<allow-intent href="sms:*" /> | ||
<allow-intent href="mailto:*" /> | ||
<allow-intent href="geo:*" /> | ||
<platform name="android"> | ||
<allow-intent href="market:*" /> | ||
</platform> | ||
<platform name="ios"> | ||
<allow-intent href="itms:*" /> | ||
<allow-intent href="itms-apps:*" /> | ||
</platform> | ||
<platform name="android"> | ||
<icon density="ldpi" src="res/icons/android/icon-36-ldpi.png" /> | ||
<icon density="mdpi" src="res/icons/android/icon-48-mdpi.png" /> | ||
<icon density="hdpi" src="res/icons/android/icon-72-hdpi.png" /> | ||
<icon density="xhdpi" src="res/icons/android/icon-96-xhdpi.png" /> | ||
</platform> | ||
<platform name="ios"> | ||
<icon height="180" src="res/icons/ios/icon-60-3x.png" width="180" /> | ||
<icon height="60" src="res/icons/ios/icon-60.png" width="60" /> | ||
<icon height="120" src="res/icons/ios/icon-60-2x.png" width="120" /> | ||
<icon height="76" src="res/icons/ios/icon-76.png" width="76" /> | ||
<icon height="152" src="res/icons/ios/icon-76-2x.png" width="152" /> | ||
<icon height="40" src="res/icons/ios/icon-40.png" width="40" /> | ||
<icon height="80" src="res/icons/ios/icon-40-2x.png" width="80" /> | ||
<icon height="57" src="res/icons/ios/icon-57.png" width="57" /> | ||
<icon height="114" src="res/icons/ios/icon-57-2x.png" width="114" /> | ||
<icon height="72" src="res/icons/ios/icon-72.png" width="72" /> | ||
<icon height="144" src="res/icons/ios/icon-72-2x.png" width="144" /> | ||
<icon height="29" src="res/icons/ios/icon-small.png" width="29" /> | ||
<icon height="58" src="res/icons/ios/icon-small-2x.png" width="58" /> | ||
<icon height="50" src="res/icons/ios/icon-50.png" width="50" /> | ||
<icon height="100" src="res/icons/ios/icon-50-2x.png" width="100" /> | ||
</platform> | ||
<platform name="windows"> | ||
<icon height="150" src="res/icons/windows/Square150x150Logo.scale-100.png" width="150" /> | ||
<icon height="360" src="res/icons/windows/Square150x150Logo.scale-240.png" width="360" /> | ||
<icon height="30" src="res/icons/windows/Square30x30Logo.scale-100.png" width="30" /> | ||
<icon height="310" src="res/icons/windows/Square310x310Logo.scale-100.png" width="310" /> | ||
<icon height="106" src="res/icons/windows/Square44x44Logo.scale-240.png" width="106" /> | ||
<icon height="70" src="res/icons/windows/Square70x70Logo.scale-100.png" width="70" /> | ||
<icon height="170" src="res/icons/windows/Square71x71Logo.scale-240.png" width="170" /> | ||
<icon height="50" src="res/icons/windows/StoreLogo.scale-100.png" width="50" /> | ||
<icon height="120" src="res/icons/windows/StoreLogo.scale-240.png" width="120" /> | ||
<icon height="150" src="res/icons/windows/Wide310x150Logo.scale-100.png" width="310" /> | ||
<icon height="360" src="res/icons/windows/Wide310x150Logo.scale-240.png" width="744" /> | ||
</platform> | ||
<platform name="wp8"> | ||
<icon height="99" src="res/icons/wp8/ApplicationIcon.png" width="99" /> | ||
<icon height="159" src="res/icons/wp8/Background.png" width="159" /> | ||
</platform> | ||
<platform name="android"> | ||
<splash density="land-hdpi" src="res/screens/android/screen-hdpi-landscape.png" /> | ||
<splash density="land-ldpi" src="res/screens/android/screen-ldpi-landscape.png" /> | ||
<splash density="land-mdpi" src="res/screens/android/screen-mdpi-landscape.png" /> | ||
<splash density="land-xhdpi" src="res/screens/android/screen-xhdpi-landscape.png" /> | ||
<splash density="port-hdpi" src="res/screens/android/screen-hdpi-portrait.png" /> | ||
<splash density="port-ldpi" src="res/screens/android/screen-ldpi-portrait.png" /> | ||
<splash density="port-mdpi" src="res/screens/android/screen-mdpi-portrait.png" /> | ||
<splash density="port-xhdpi" src="res/screens/android/screen-xhdpi-portrait.png" /> | ||
</platform> | ||
<platform name="ios"> | ||
<splash height="480" src="res/screens/ios/screen-iphone-portrait.png" width="320" /> | ||
<splash height="960" src="res/screens/ios/screen-iphone-portrait-2x.png" width="640" /> | ||
<splash height="1024" src="res/screens/ios/screen-ipad-portrait.png" width="768" /> | ||
<splash height="2048" src="res/screens/ios/screen-ipad-portrait-2x.png" width="1536" /> | ||
<splash height="768" src="res/screens/ios/screen-ipad-landscape.png" width="1024" /> | ||
<splash height="1536" src="res/screens/ios/screen-ipad-landscape-2x.png" width="2048" /> | ||
<splash height="1136" src="res/screens/ios/screen-iphone-568h-2x.png" width="640" /> | ||
<splash height="1334" src="res/screens/ios/screen-iphone-portrait-667h.png" width="750" /> | ||
<splash height="2208" src="res/screens/ios/screen-iphone-portrait-736h.png" width="1242" /> | ||
<splash height="1242" src="res/screens/ios/screen-iphone-landscape-736h.png" width="2208" /> | ||
</platform> | ||
<platform name="windows"> | ||
<splash height="300" src="res/screens/windows/SplashScreen.scale-100.png" width="620" /> | ||
<splash height="1920" src="res/screens/windows/SplashScreen.scale-240.png" width="1152" /> | ||
<splash height="1920" src="res/screens/windows/SplashScreenPhone.scale-240.png" width="1152" /> | ||
</platform> | ||
<platform name="wp8"> | ||
<splash height="1280" src="res/screens/wp8/SplashScreenImage.png" width="768" /> | ||
</platform> | ||
<plugin name="cordova-plugin-camera" spec="~2.2.0" /> | ||
<plugin name="cordova-plugin-device-motion" spec="~1.2.1" /> | ||
<plugin name="cordova-plugin-contacts" spec="~2.1.0" /> | ||
<plugin name="cordova-plugin-vibration" spec="~2.1.1" /> | ||
<plugin name="cordova-plugin-statusbar" spec="~2.1.3" /> | ||
<plugin name="cordova-plugin-file" spec="~4.2.0" /> | ||
<plugin name="cordova-plugin-splashscreen" spec="~3.2.2" /> | ||
<plugin name="cordova-plugin-media-capture" spec="~1.3.0" /> | ||
<plugin name="cordova-plugin-geolocation" spec="~2.2.0" /> | ||
<plugin name="cordova-plugin-dialogs" spec="~1.2.1" /> | ||
<plugin name="cordova-plugin-globalization" spec="~1.0.3" /> | ||
</widget> |
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,23 @@ | ||
<!-- | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
--> | ||
# Cordova Hooks | ||
|
||
Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. See Hooks Guide for more details: http://cordova.apache.org/docs/en/edge/guide_appdev_hooks_index.md.html#Hooks%20Guide. |
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 @@ | ||
{} |
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,30 @@ | ||
// Polyfill for Function.prototype.bind() support on Android 2.3 | ||
(function () { | ||
if (!Function.prototype.bind) { | ||
Function.prototype.bind = function (thisValue) { | ||
if (typeof this !== "function") { | ||
throw new TypeError(this + " cannot be bound as it is not a function"); | ||
} | ||
|
||
// bind() also permits prepending arguments to the call | ||
var preArgs = Array.prototype.slice.call(arguments, 1); | ||
|
||
// The actual function to bind the "this" value and arguments to | ||
var functionToBind = this; | ||
var noOpFunction = function () { }; | ||
|
||
// The "this" argument to use | ||
var thisArg = this instanceof noOpFunction && thisValue ? this : thisValue; | ||
|
||
// The resulting bound function | ||
var boundFunction = function () { | ||
return functionToBind.apply(thisArg, preArgs.concat(Array.prototype.slice.call(arguments))); | ||
}; | ||
|
||
noOpFunction.prototype = this.prototype; | ||
boundFunction.prototype = new noOpFunction(); | ||
|
||
return boundFunction; | ||
}; | ||
} | ||
}()); |
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,10 @@ | ||
(function () { | ||
// Append the bind() polyfill | ||
var scriptElem = document.createElement('script'); | ||
scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); | ||
if (document.body) { | ||
document.body.appendChild(scriptElem); | ||
} else { | ||
document.head.appendChild(scriptElem); | ||
} | ||
}()); |
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,10 @@ | ||
(function () { | ||
// Append the safeHTML polyfill | ||
var scriptElem = document.createElement('script'); | ||
scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); | ||
if (document.body) { | ||
document.body.appendChild(scriptElem); | ||
} else { | ||
document.head.appendChild(scriptElem); | ||
} | ||
}()); |
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,149 @@ | ||
/* | ||
JavaScript Dynamic Content shim for Windows Store apps. | ||
winstore-jscompat.js | ||
Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website’s terms of use; or (ii) using the files as included with a Microsoft product subject to that product’s license terms. Microsoft reserves all other rights to the files not expressly granted by Microsoft, whether by implication, estoppel or otherwise. The notices and licenses below are for informational purposes only. | ||
*/ | ||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
// JavaScript Dynamic Content shim for Windows Store apps | ||
(function () { | ||
|
||
if (window.MSApp && MSApp.execUnsafeLocalFunction) { | ||
|
||
// Some nodes will have an "attributes" property which shadows the Node.prototype.attributes property | ||
// and means we don't actually see the attributes of the Node (interestingly the VS debug console | ||
// appears to suffer from the same issue). | ||
// | ||
var Element_setAttribute = Object.getOwnPropertyDescriptor(Element.prototype, "setAttribute").value; | ||
var Element_removeAttribute = Object.getOwnPropertyDescriptor(Element.prototype, "removeAttribute").value; | ||
var HTMLElement_insertAdjacentHTMLPropertyDescriptor = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "insertAdjacentHTML"); | ||
var Node_get_attributes = Object.getOwnPropertyDescriptor(Node.prototype, "attributes").get; | ||
var Node_get_childNodes = Object.getOwnPropertyDescriptor(Node.prototype, "childNodes").get; | ||
|
||
function getAttributes(element) { | ||
return Node_get_attributes.call(element); | ||
} | ||
|
||
function setAttribute(element, attribute, value) { | ||
try { | ||
Element_setAttribute.call(element, attribute, value); | ||
} catch (e) { | ||
// ignore | ||
} | ||
} | ||
|
||
function removeAttribute(element, attribute) { | ||
Element_removeAttribute.call(element, attribute); | ||
} | ||
|
||
function childNodes(element) { | ||
return Node_get_childNodes.call(element); | ||
} | ||
|
||
function empty(element) { | ||
while (element.childNodes.length) { | ||
element.removeChild(element.lastChild); | ||
} | ||
} | ||
|
||
function insertAdjacentHTML(element, position, html) { | ||
HTMLElement_insertAdjacentHTMLPropertyDescriptor.value.call(element, position, html); | ||
} | ||
|
||
function cleanse(html) { | ||
var cleaner = document.implementation.createHTMLDocument("cleaner"); | ||
empty(cleaner.documentElement); | ||
MSApp.execUnsafeLocalFunction(function () { | ||
insertAdjacentHTML(cleaner.documentElement, "afterbegin", html); | ||
}); | ||
|
||
var scripts = cleaner.documentElement.querySelectorAll("script"); | ||
Array.prototype.forEach.call(scripts, function (script) { | ||
switch (script.type.toLowerCase()) { | ||
case "": | ||
script.type = "text/inert"; | ||
break; | ||
case "text/javascript": | ||
case "text/ecmascript": | ||
case "text/x-javascript": | ||
case "text/jscript": | ||
case "text/livescript": | ||
case "text/javascript1.1": | ||
case "text/javascript1.2": | ||
case "text/javascript1.3": | ||
script.type = "text/inert-" + script.type.slice("text/".length); | ||
break; | ||
case "application/javascript": | ||
case "application/ecmascript": | ||
case "application/x-javascript": | ||
script.type = "application/inert-" + script.type.slice("application/".length); | ||
break; | ||
|
||
default: | ||
break; | ||
} | ||
}); | ||
|
||
function cleanseAttributes(element) { | ||
var attributes = getAttributes(element); | ||
if (attributes && attributes.length) { | ||
// because the attributes collection is live it is simpler to queue up the renames | ||
var events; | ||
for (var i = 0, len = attributes.length; i < len; i++) { | ||
var attribute = attributes[i]; | ||
var name = attribute.name; | ||
if ((name[0] === "o" || name[0] === "O") && | ||
(name[1] === "n" || name[1] === "N")) { | ||
events = events || []; | ||
events.push({ name: attribute.name, value: attribute.value }); | ||
} | ||
} | ||
if (events) { | ||
for (var i = 0, len = events.length; i < len; i++) { | ||
var attribute = events[i]; | ||
removeAttribute(element, attribute.name); | ||
setAttribute(element, "x-" + attribute.name, attribute.value); | ||
} | ||
} | ||
} | ||
var children = childNodes(element); | ||
for (var i = 0, len = children.length; i < len; i++) { | ||
cleanseAttributes(children[i]); | ||
} | ||
} | ||
cleanseAttributes(cleaner.documentElement); | ||
|
||
return Array.prototype.slice.call(document.adoptNode(cleaner.documentElement).childNodes); | ||
} | ||
|
||
function cleansePropertySetter(property, setter) { | ||
var propertyDescriptor = Object.getOwnPropertyDescriptor(HTMLElement.prototype, property); | ||
Object.defineProperty(HTMLElement.prototype, property, { | ||
get: propertyDescriptor.get, | ||
set: function (value) { | ||
var that = this; | ||
var nodes = cleanse(value); | ||
MSApp.execUnsafeLocalFunction(function () { | ||
setter(propertyDescriptor, that, nodes); | ||
}); | ||
}, | ||
enumerable: propertyDescriptor.enumerable, | ||
configurable: propertyDescriptor.configurable, | ||
}); | ||
} | ||
cleansePropertySetter("innerHTML", function (propertyDescriptor, target, elements) { | ||
empty(target); | ||
for (var i = 0, len = elements.length; i < len; i++) { | ||
target.appendChild(elements[i]); | ||
} | ||
}); | ||
cleansePropertySetter("outerHTML", function (propertyDescriptor, target, elements) { | ||
for (var i = 0, len = elements.length; i < len; i++) { | ||
target.insertAdjacentElement("afterend", elements[i]); | ||
} | ||
target.parentNode.removeChild(target); | ||
}); | ||
|
||
} | ||
|
||
}()); |
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 @@ | ||
{} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
key.store= | ||
key.alias= | ||
key.store.password= | ||
key.alias.password= |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<h1 class="title">Camera</h1> | ||
<button id="get-picture">Take a Picture</button> | ||
<button id="get-picture-thumbnail">Create a Thumbnail</button> | ||
<button id="file-picker">Choose from the Library</button> | ||
<div id="photo"></div> | ||
|
||
<style type="text/css"> | ||
#photo { | ||
height: 400px; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-position: 50%; | ||
} | ||
</style> | ||
|
||
<div data-script="/scripts/camera.js"></div> |
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,7 @@ | ||
<h1 class="title">Contacts</h1> | ||
|
||
<button id="create-contact">Create</button> | ||
<button id="find-contact">Find</button> | ||
<button id="pick-contact">Pick</button> | ||
|
||
<div data-script="/scripts/contacts.js"></div> |
Oops, something went wrong.