-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO NOT MERGE: Image collage mashup #2
base: master
Are you sure you want to change the base?
Conversation
src/classes/SharinPixCollageDemo.cls
Outdated
public static String albumId {get; set;} | ||
|
||
static { | ||
albumId = 'c74c803b-62a6-4b41-b7d8-7e7e14503dae'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remplace cela par un nom d'album. (ex: demo-album)
src/package.xml
Outdated
<members>SharinPixCollageDemo</members> | ||
<name>ApexClass</name> | ||
</types> | ||
<version>36.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remplace par 40.0
@@ -0,0 +1,10 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> | |||
<apiVersion>36.0</apiVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
src/pages/SharinPixCollageDemo.page
Outdated
); | ||
} | ||
</script> | ||
<div style="padding: 10px 20px"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utilise des classes plutot que du style en inline.
@@ -0,0 +1,22 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ApexPage xmlns="http://soap.sforce.com/2006/04/metadata"> | |||
<apiVersion>36.0</apiVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version 40.0
src/pages/SharinPixCollageDemo.page
Outdated
<apex:canvasApp developerName="Albums" height="500px" width="100%" parameters="{! parameters }" /> | ||
</div> | ||
<div style="padding: 10px 20px"> | ||
<apex:form onsubmit="return false" id="main_form"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tu peux ne pas mettre le form si tu ne fais pas de bind sur le controleur.
src/pages/SharinPixCollageDemo.page
Outdated
window.location.hash = 'image_start'; | ||
document.getElementById('image_start').style.visibility = 'visible' | ||
}); | ||
}, 10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10 milisecondes ?
src/pages/SharinPixCollageDemo.page
Outdated
@@ -0,0 +1,58 @@ | |||
<apex:page controller="SharinPixCollageDemo"> | |||
<script> | |||
let buttonClicked = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utilise plutot var
ici. C'est pus comprehensible pour la majorité des gens.
No description provided.