Skip to content

Commit

Permalink
better asp commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
fxbois committed Dec 27, 2020
1 parent 951ad63 commit a3ce21f
Show file tree
Hide file tree
Showing 3 changed files with 406 additions and 4 deletions.
372 changes: 372 additions & 0 deletions issues/1162.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,372 @@
import React, { Component } from "react";
import Counter from "./counter";

class Counters extends Component {
render() {
const {
onReset,
onIncrement,
onDelete,
onDecrement,
counters,
onRestart
} = this.props;
return (
<div>

<button
className="bsxsdstn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-succsssssecqsdscqsdcs m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs csd csqdc dsc ds cqdscd dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}

<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}

<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}

<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs je jsjsjs sjsjsjsjsj jsjsjsjsjsj fsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fkfkfkf kfkfkfkf fkfkfkfkf fkfkfkfkfkf fjfjfjfjfjfjfjfjfjfjfj jsjsjsjsjsjsjsjs f">
<i className="fa akakakakk akkakakaka kakakakaka kakaakakaka kakakakakakaka kakakakak akakakak kakakaka kakakakafao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}

<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efsjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
<button
className="btn btn-success m-2"
onClick={onReset}
disabled={counters.length === 0 ? "disabled" : ""}
>
<i className="fa fa-refresh" aria-hidden="true" />
</button>
<button
className="btn btn-primary m-2"
onClick={onRestart}
disabled={counters.length !== 0 ? "disabled" : ""}
>
<i className="fa fao ajjfdfjs dfjfsjfjsefj efdscdsc ds dcsd cds csdc sjefsjsjefsj efsjesj efsjefjses jsfejsfj sfejfse efsjsef jsejefs jefsjefsjfesjsefjs jefsj-recycle" aria-hidden="true" />
</button>
{counters.map(counter => (
<Counter
key={counter.id}
counter={counter}
onIncrement={onIncrement}
onDecrement={onDecrement}
onDelete={onDelete}
/>
))}
</div>
);
}
}

export default Counters;
20 changes: 20 additions & 0 deletions issues/1164.asp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<%
set objBrowserCapabilities = Server.CreateObject("MSWC.BrowserType")
bCookiesSupported = objBrowserCapabilities.cookies
session("sGotoPage") = ""
'' vsdf
''if bDebug then
'' response.write bCookiesSupported
'' response.write Session.SessionID
'' response.end
''end if
%>
<% ''^^^ End Startup Code %>

<html>
<body>
<div>
Test
</div>
</body>
</html>
Loading

0 comments on commit a3ce21f

Please sign in to comment.