Fixes #496. Update Pretty Diff and fix adding two spaces incorrectly

Also fix the related unit tests.
This commit is contained in:
Glavin Wiechert 2015-08-10 10:57:53 -03:00
parent b7978075d0
commit 00b15f3b59
6 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Shopping List for
<%= @date.strftime('%A, %d %B %Y') %></title>
</head>

View File

@ -1,7 +1,7 @@
var Mist = React.createClass({
renderList: function() {
return this.props.items.map(function(item) {
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
});
}
});

View File

@ -1,5 +1,5 @@
<apex:page standardController="Contact">
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
</apex:page>

View File

@ -1,15 +1,15 @@
<apex:page standardController="Contact">
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
<apex:form >
<apex:pageBlock title="Contact">
<apex:pageBlockSection title="Editing">
<apex:inputfield value="{!contact.firstname}"/>
<apex:inputfield value="{!contact.lastname}"/>
<apex:inputfield value="{!contact.salutation}"/>
<apex:inputfield value="{!contact.birthdate}"/>
<apex:commandButton action="{!save}" value="Save"/>
<apex:inputfield value="{!contact.firstname}"/>
<apex:inputfield value="{!contact.lastname}"/>
<apex:inputfield value="{!contact.salutation}"/>
<apex:inputfield value="{!contact.birthdate}"/>
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>

View File

@ -1,13 +1,13 @@
<apex:page standardController="Contact">
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
<apex:pageBlock title="Contact">
<apex:pageBlockSection title="Details">
<apex:outputfield value="{!contact.firstname}"/>
<apex:outputfield value="{!contact.lastname}"/>
<apex:outputfield value="{!contact.salutation}"/>
<apex:outputfield value="{!contact.birthdate}"/>
<apex:outputfield value="{!contact.firstname}"/>
<apex:outputfield value="{!contact.lastname}"/>
<apex:outputfield value="{!contact.salutation}"/>
<apex:outputfield value="{!contact.birthdate}"/>
</apex:pageBlockSection>
</apex:pageBlock>

View File

@ -79,7 +79,7 @@
"loophole": "^1.0.0",
"node-dir": "^0.1.8",
"node-uuid": "^1.4.3",
"prettydiff": "^1.12.17",
"prettydiff": "^1.12.19",
"space-pen": "^5.1.1",
"strip-json-comments": "^1.0.2",
"temp": "^0.8.3",