Skip to content
Permalink
Browse files

updating app for fp2 (primarily to use content sync plugin)

  • Loading branch information...
justinedelson committed Oct 14, 2015
1 parent 7097830 commit 7e04e8a724d9601aed5101aab4064700d109c2cb
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
<html data-content-package-name="${inheritedPageProperties['phonegap-contentPackageName'] || 'en'}">
<html data-content-package-name="${inheritedPageProperties['phonegap-contentPackageName'] || 'en'}" data-application-name="${inheritedPageProperties['applicationName'] || 'AEMAngularApp'}">

<head data-sly-include="head.html"></head>
<body>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Component"
sling:resourceSuperType="mobileapps/components/splash-page"/>
sling:resourceSuperType="mobileapps/components/splash-page-content-sync-2"/>
@@ -2,4 +2,4 @@
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
categories="[apps.justinedelson.helloworldpge.splash-screen]"
embed="[angularjs,cq.mobile.foundation.angular,cq.mobile.content-sync]"/>
embed="[cq.mobile.content-sync-2]"/>
@@ -39,18 +39,16 @@
<icon src="icon.png" />

<!-- PhoneGap Build Plugins -->
<gap:plugin name="org.apache.cordova.file" version="1.3.1"/>
<gap:plugin name="org.apache.cordova.file-transfer" version="0.4.6"/>
<gap:plugin name="org.apache.cordova.dialogs" version="0.2.10"/>
<gap:plugin name="org.chromium.zip" version="2.1.0"/>
<gap:plugin name="org.apache.cordova.file-transfer" source="npm" version="1.0.0"/>
<gap:plugin name="cordova-plugin-dialogs" source="npm" version="1.1.1" />
<gap:plugin name="phonegap-plugin-contentsync" source="npm" version="1.1.12" />

<!-- PhoneGap CLI Plugins - note that versions differ from PhoneGap Build Plugins above -->
<!-- PhoneGap CLI Plugins -->
<plugin name="ADBMobile" spec="https://github.com/Adobe-Marketing-Cloud/mobile-services#2e32d30badba8791cef8f58646244c807728edd8" />
<plugin name="cordova-plugin-file" spec="2.1.0" />
<plugin name="cordova-plugin-file-transfer" spec="1.2.1"/>
<plugin name="cordova-plugin-file-transfer" spec="1.0.0"/>
<plugin name="cordova-plugin-whitelist" spec="1.0.0" />
<plugin name="cordova-plugin-dialogs" spec="1.1.1"/>
<plugin name="org.chromium.zip" spec="2.1.0"/>
<plugin name="phonegap-plugin-contentsync" spec="1.1.12" />

<access origin="*" />
<allow-intent href="http://*/*" />
@@ -2,4 +2,4 @@
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
categories="[apps.justinedelson.hellowoldpge.all]"
embed="[cq.mobile.content-sync,justinedelson.vendor.zepto]"/>
embed="[cq.mobile.content-sync-2,justinedelson.vendor.zepto]"/>
@@ -1,8 +1,11 @@
(function(contentUpdate, $) {
$(function(){
var contentPackageName = $("html").data("content-package-name"),
appName = $("html").data("application-name"),
updating = false,
contentUpdater = contentUpdate();
contentUpdater = contentUpdate({
id : appName
});

function disable($element) {
$element.prop("disabled", "disabled");

0 comments on commit 7e04e8a

Please sign in to comment.
You can’t perform that action at this time.