<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[2380] 2013/b0unc3/trunk: sources cleanup</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://gsoc.trac.wordpress.org/changeset/2380">2380</a></dd>
<dt>Author</dt> <dd>b0unc3</dd>
<dt>Date</dt> <dd>2013-09-25 18:55:15 +0000 (Wed, 25 Sep 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>sources cleanup</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#2013b0unc3trunkassetscommentslistqml">2013/b0unc3/trunk/assets/commentslist.qml</a></li>
<li><a href="#2013b0unc3trunkassetsmainqml">2013/b0unc3/trunk/assets/main.qml</a></li>
<li><a href="#2013b0unc3trunkassetsmakePostqml">2013/b0unc3/trunk/assets/makePost.qml</a></li>
<li><a href="#2013b0unc3trunkassetspostslistqml">2013/b0unc3/trunk/assets/postslist.qml</a></li>
<li><a href="#2013b0unc3trunkassetsshowPostqml">2013/b0unc3/trunk/assets/showPost.qml</a></li>
<li><a href="#2013b0unc3trunksrcWPUtilscpp">2013/b0unc3/trunk/src/WPUtils.cpp</a></li>
<li><a href="#2013b0unc3trunksrcWPUtilsh">2013/b0unc3/trunk/src/WPUtils.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="2013b0unc3trunkassetscommentslistqml"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/assets/commentslist.qml (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/assets/commentslist.qml 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/assets/commentslist.qml 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -205,7 +205,6 @@
</span><span class="cx">
</span><span class="cx"> function getDescription(p,d)
</span><span class="cx"> {
</span><del>- console.log("in p = " +p);
</del><span class="cx"> if ( p != "0" )
</span><span class="cx"> {
</span><span class="cx"> if (comment_csli.ListItem.view.commentsbyid["" + p])
</span></span></pre></div>
<a id="2013b0unc3trunkassetsmainqml"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/assets/main.qml (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/assets/main.qml 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/assets/main.qml 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> actions: [
</span><span class="cx"> ActionItem {
</span><span class="cx"> title: qsTr("Change blog");
</span><del>- enabled: wpu.blogsInfo();
</del><ins>+ enabled: !wpu.blogsInfo();
</ins><span class="cx">
</span><span class="cx"> onTriggered: {
</span><span class="cx"> bsdo.open();
</span><span class="lines">@@ -118,7 +118,6 @@
</span><span class="cx"> page.destroy();
</span><span class="cx">
</span><span class="cx"> if (navpostpane.firstPage) {
</span><del>- console.log("first page is here ");
</del><span class="cx"> navpostpane.firstPage.post_restoreItems()
</span><span class="cx"> } else {
</span><span class="cx"> var post_ = postsList.createObject();
</span><span class="lines">@@ -228,13 +227,8 @@
</span><span class="cx"> onTriggered: {
</span><span class="cx"> if ( navpostpane.count() > 0)
</span><span class="cx"> {
</span><del>- console.log("removing pages")
</del><span class="cx"> for ( var i=0; i<navpostpane.count(); i++ )
</span><del>- {
- console.log("removing page at " + i);
</del><span class="cx"> navpostpane.remove(navpostpane.at(i));
</span><del>- }
-
</del><span class="cx"> }
</span><span class="cx"> if (navpostpane.top) {
</span><span class="cx"> navpostpane.remove(navpostpane.top);
</span></span></pre></div>
<a id="2013b0unc3trunkassetsmakePostqml"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/assets/makePost.qml (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/assets/makePost.qml 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/assets/makePost.qml 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -44,17 +44,12 @@
</span><span class="cx"> ActionBar.placement: ActionBarPlacement.OnBar
</span><span class="cx">
</span><span class="cx"> onTriggered: {
</span><del>- console.log("1) saving on = " + mp_mpp.post_showpage);
</del><span class="cx"> mp_ci.body = "Creating the new " +((mp_mpp.post_showpage) ? "page" : "post") + "\nplaease wait...";
</span><del>- console.log("2) saving on = " + mp_mpp.post_showpage);
</del><span class="cx"> mp_ci.open();
</span><del>- console.log("3) saving on = " + mp_mpp.post_showpage);
</del><span class="cx"> wpu.makePost(mp_mpp.post_showpage, posttitle.text, postcontent.text.trim(), ((posttype.selectedValue) ? posttype.selectedValue : "" ) , poststatus.selectedValue);
</span><del>- console.log("4) saving on = " + mp_mpp.post_showpage);
</del><span class="cx"> if ( mp_mpp.post_showpage )
</span><span class="cx"> wpu.dataReady_newPage.connect(mp_mpp.mp_onDataReady);
</span><span class="cx"> else wpu.dataReady_newPost.connect(mp_mpp.mp_onDataReady);
</span><del>- console.log("5) saving on = " + mp_mpp.post_showpage);
</del><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx"> ActionItem {
</span></span></pre></div>
<a id="2013b0unc3trunkassetspostslistqml"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/assets/postslist.qml (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/assets/postslist.qml 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/assets/postslist.qml 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -15,7 +15,6 @@
</span><span class="cx">
</span><span class="cx"> function post_restoreItems()
</span><span class="cx"> {
</span><del>- console.log("RESTIORE IMTEMS!" );
</del><span class="cx"> if ( post_savemodel )
</span><span class="cx"> {
</span><span class="cx"> post_plListView.setDataModel(null);
</span><span class="lines">@@ -26,12 +25,10 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> function post_loadData() {
</span><del>- console.log(" -- INF loadData()");
</del><span class="cx"> if (post_plListView.dataModel) //plListView.dataModel.clear();
</span><span class="cx"> post_plListView.setDataModel(null);
</span><span class="cx">
</span><span class="cx"> post_plind.start();
</span><del>- console.log("loading data -> " + post_plp.post_showpage);
</del><span class="cx"> wpu.getPosts(post_plp.post_showpage);
</span><span class="cx"> if ( post_plp.post_showpage )
</span><span class="cx"> wpu.dataReady_getPages.connect(post_plp.post_onDataReady);
</span><span class="lines">@@ -41,25 +38,20 @@
</span><span class="cx"> function post_onDataReady(val) {
</span><span class="cx"> var d = new Date();
</span><span class="cx">
</span><del>- console.log("herer =>" + d);
</del><span class="cx"> var post_pa = wpu.getRes();
</span><span class="cx">
</span><span class="cx"> if (post_pa["ERROR"]) {
</span><del>- console.log(post_showpage);
</del><span class="cx"> //myQmlToast.show();
</span><span class="cx"> console.log("ERRORE");
</span><span class="cx"> // wpu.resetRes();
</span><span class="cx"> } else if (post_pa["delpost"]) {
</span><del>- console.log("delpost = " + post_showpage);
</del><span class="cx"> if (post_pa["delpost"] == 1) {
</span><del>- console.log("delpost 1 = " + post_showpage);
</del><span class="cx"> post_delDialog.cancel();
</span><span class="cx"> post_ci_pl.close();
</span><span class="cx"> post_plp.post_loadData();
</span><span class="cx"> } else console.log("delete fail");
</span><span class="cx">
</span><span class="cx"> } else {
</span><del>- console.log("POSTSLIST else - " + post_showpage);
</del><span class="cx"> post_plListView.setDataModel(wpu.setModel("post_mystr"));
</span><span class="cx"> post_plind.stop();
</span><span class="cx"> }
</span></span></pre></div>
<a id="2013b0unc3trunkassetsshowPostqml"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/assets/showPost.qml (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/assets/showPost.qml 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/assets/showPost.qml 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -28,9 +28,8 @@
</span><span class="cx"> //aspe`
</span><span class="cx"> sp_myObj = wpu.getRes();
</span><span class="cx"> if ( sp_myObj.post_content.indexOf("img") != -1 )
</span><del>- show_img = true;
-
-
</del><ins>+ show_img = true;
+
</ins><span class="cx"> spind.stop();
</span><span class="cx">
</span><span class="cx"> cnt.text = getLabelText();
</span><span class="lines">@@ -94,6 +93,7 @@
</span><span class="cx">
</span><span class="cx"> ScrollView {
</span><span class="cx"> id: scrollView
</span><ins>+ visible: !show_img
</ins><span class="cx">
</span><span class="cx"> topMargin: 30
</span><span class="cx"> bottomMargin: 30
</span><span class="lines">@@ -126,6 +126,7 @@
</span><span class="cx"> }
</span><span class="cx"> ScrollView {
</span><span class="cx"> id: scrollView_wv
</span><ins>+ visible: show_img
</ins><span class="cx">
</span><span class="cx"> topMargin: 30
</span><span class="cx"> bottomMargin: 30
</span></span></pre></div>
<a id="2013b0unc3trunksrcWPUtilscpp"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/src/WPUtils.cpp (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/src/WPUtils.cpp 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/src/WPUtils.cpp 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -54,6 +54,9 @@
</span><span class="cx"> _blogid = bis.at(0);
</span><span class="cx"> _endpoint = xrs.at(0);
</span><span class="cx">
</span><ins>+ int i=0;
+ for ( i=0; i<bis.size(); i++)
+ _blogs.insertMulti(bis.at(i), xrs.at(i));
</ins><span class="cx">
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -407,7 +410,7 @@
</span><span class="cx"> manager->post(request,_xml);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void WPUtils::editPost(QString pid, QString title, QString content, QString status, QString format)
</del><ins>+void WPUtils::editPost(bool pages, QString pid, QString title, QString content, QString status, QString format)
</ins><span class="cx"> {
</span><span class="cx"> _xml.clear();
</span><span class="cx"> QXmlStreamWriter sw(&_xml);
</span><span class="lines">@@ -470,7 +473,9 @@
</span><span class="cx">
</span><span class="cx"> QNetworkAccessManager *manager = new QNetworkAccessManager();
</span><span class="cx">
</span><del>- manager->setObjectName("editPost");
</del><ins>+ if ( pages )
+ manager->setObjectName("editPage");
+ else manager->setObjectName("editPost");
</ins><span class="cx">
</span><span class="cx"> QObject::connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
</span><span class="cx">
</span><span class="lines">@@ -486,7 +491,7 @@
</span><span class="cx"> manager->post(request,_xml);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void WPUtils::deletePost(QString post_id)
</del><ins>+void WPUtils::deletePost(bool pages, QString post_id)
</ins><span class="cx"> {
</span><span class="cx"> _xml.clear();
</span><span class="cx"> QXmlStreamWriter sw(&_xml);
</span><span class="lines">@@ -518,7 +523,9 @@
</span><span class="cx">
</span><span class="cx"> QNetworkAccessManager *manager = new QNetworkAccessManager();
</span><span class="cx">
</span><del>- manager->setObjectName("delPost");
</del><ins>+ if ( pages )
+ manager->setObjectName("delPage");
+ else manager->setObjectName("delPost");
</ins><span class="cx">
</span><span class="cx"> QObject::connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
</span><span class="cx">
</span><span class="lines">@@ -634,7 +641,9 @@
</span><span class="cx">
</span><span class="cx"> QNetworkAccessManager *manager = new QNetworkAccessManager();
</span><span class="cx">
</span><del>- manager->setObjectName("newPost");
</del><ins>+ if ( pages )
+ manager->setObjectName("newPage");
+ else manager->setObjectName("newPost");
</ins><span class="cx">
</span><span class="cx"> QObject::connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
</span><span class="cx">
</span><span class="lines">@@ -785,7 +794,7 @@
</span><span class="cx"> manager->post(request,_xml);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void WPUtils::getPost(QString pid)
</del><ins>+void WPUtils::getPost(bool pages, QString pid)
</ins><span class="cx"> {
</span><span class="cx">
</span><span class="cx"> _xml.clear();
</span><span class="lines">@@ -845,7 +854,9 @@
</span><span class="cx">
</span><span class="cx"> QNetworkAccessManager *manager = new QNetworkAccessManager();
</span><span class="cx">
</span><del>- manager->setObjectName("getPost");
</del><ins>+ if ( pages )
+ manager->setObjectName("getPage");
+ else manager->setObjectName("getPost");
</ins><span class="cx">
</span><span class="cx"> QObject::connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
</span><span class="cx">
</span><span class="lines">@@ -947,7 +958,9 @@
</span><span class="cx">
</span><span class="cx"> QNetworkAccessManager *manager = new QNetworkAccessManager();
</span><span class="cx">
</span><del>- manager->setObjectName("getPosts");
</del><ins>+ if ( pages )
+ manager->setObjectName("getPages");
+ else manager->setObjectName("getPosts");
</ins><span class="cx">
</span><span class="cx"> QObject::connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
</span><span class="cx">
</span><span class="lines">@@ -978,7 +991,10 @@
</span><span class="cx"> if ( !res.isEmpty() )
</span><span class="cx"> res.clear();
</span><span class="cx">
</span><ins>+ if (!_res_bck.isEmpty() )
+ _res_bck.clear();
</ins><span class="cx">
</span><ins>+
</ins><span class="cx"> QByteArray ret = rep->readAll();
</span><span class="cx"> if ( !ret.isEmpty() )
</span><span class="cx"> qDebug() << "reading " << ret; //rep->readAll();
</span><span class="lines">@@ -1040,7 +1056,7 @@
</span><span class="cx"> res.clear();
</span><span class="cx"> } else if ( xml.name().toString() == "int" )
</span><span class="cx"> {
</span><del>- /* newpost workaround */
</del><ins>+ /* newcomment workaround */
</ins><span class="cx"> token = xml.readNext();
</span><span class="cx"> res["newcommentid"] = xml.text().toString();
</span><span class="cx"> model->insert(res);
</span></span></pre></div>
<a id="2013b0unc3trunksrcWPUtilsh"></a>
<div class="modfile"><h4>Modified: 2013/b0unc3/trunk/src/WPUtils.h (2379 => 2380)</h4>
<pre class="diff"><span>
<span class="info">--- 2013/b0unc3/trunk/src/WPUtils.h 2013-09-24 17:30:45 UTC (rev 2379)
+++ 2013/b0unc3/trunk/src/WPUtils.h 2013-09-25 18:55:15 UTC (rev 2380)
</span><span class="lines">@@ -65,16 +65,16 @@
</span><span class="cx"> Q_INVOKABLE void setBlogsInfo(QString,QString);
</span><span class="cx"> Q_INVOKABLE void getComments();
</span><span class="cx"> Q_INVOKABLE void getPages();
</span><del>- Q_INVOKABLE void getPost(QString);
</del><ins>+ Q_INVOKABLE void getPost(bool, QString);
</ins><span class="cx"> Q_INVOKABLE void getCategories();
</span><span class="cx"> Q_INVOKABLE void makePost(bool, QString, QVariant, QVariant, QVariant);
</span><del>- Q_INVOKABLE void deletePost(QString);
</del><ins>+ Q_INVOKABLE void deletePost(bool, QString);
</ins><span class="cx"> Q_INVOKABLE void uploadFile(QString);
</span><span class="cx"> Q_INVOKABLE void editComment(QString, QString, QString, QString, QString, QString);
</span><span class="cx"> Q_INVOKABLE void deleteComment(QString);
</span><span class="cx"> Q_INVOKABLE void newComment(QString, QString, QString);
</span><span class="cx"> Q_INVOKABLE void getComment(QString);
</span><del>- Q_INVOKABLE void editPost(QString, QString, QString, QString, QString);
</del><ins>+ Q_INVOKABLE void editPost(bool, QString, QString, QString, QString, QString);
</ins><span class="cx">
</span><span class="cx"> Q_INVOKABLE bb::cascades::GroupDataModel *setModel(QByteArray); /* should be getModel, since the model is setted in another func */
</span><span class="cx"> QString searchEndPoint(QString);
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx"> /* maybe temporary */
</span><span class="cx"> Q_INVOKABLE QMap<QString, QVariant> getRes() { return res; }
</span><span class="cx"> Q_INVOKABLE void resetRes() { res.clear(); }
</span><del>- Q_INVOKABLE void setUsername(QString u) { qDebug() << "&&&&&& ==== USERNAME SETTED TO => " << u; _username = u; }
</del><ins>+ Q_INVOKABLE void setUsername(QString u) { _username = u; }
</ins><span class="cx"> Q_INVOKABLE void setPassword(QString p) { _password = p; }
</span><span class="cx">
</span><span class="cx"> Q_INVOKABLE void setPosition(int p) { _position = p; }
</span><span class="lines">@@ -134,6 +134,7 @@
</span><span class="cx"> void dataReady_delComment();
</span><span class="cx">
</span><span class="cx"> void dataReady_getPages();
</span><ins>+ void dataReady_getPage();
</ins><span class="cx"> void dataReady_viewPage();
</span><span class="cx"> void dataReady_editPage();
</span><span class="cx"> void dataReady_delPage();
</span><span class="lines">@@ -142,9 +143,9 @@
</span><span class="cx"> void blogsReady(QHash<QString, QString>);
</span><span class="cx">
</span><span class="cx"> private slots:
</span><del>-void replyFinished(QNetworkReply*);
-void repFinished(QNetworkReply*);
-void checkForPingback(QNetworkReply*);
</del><ins>+ void replyFinished(QNetworkReply*);
+ void repFinished(QNetworkReply*);
+ void checkForPingback(QNetworkReply*);
</ins><span class="cx">
</span><span class="cx"> };
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>