prototype.exe 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/prototype.js +7 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prototype.exe",
3
3
  "description": "JScript",
4
- "version": "0.0.8",
4
+ "version": "0.0.9",
5
5
  "main": "src/prototype.js",
6
6
  "files": [
7
7
  "src/",
package/src/prototype.js CHANGED
@@ -871,15 +871,15 @@ Define (Function, "html", class {
871
871
  this.markup.push (2, "meta", {name: "googlebot-news", content: this.var ["google-bot:article"]});
872
872
  if (this.var ["google-site-verification"]) this.markup.push (2, "meta", {name: "google-site-verification", content: this.var ["google-site-verification"]});
873
873
  if (this.var ["yandex-verification"]) this.markup.push (2, "meta", {name: "yandex-verification", content: this.var ["yandex-verification"]});
874
- this.markup.push (2, "meta", {name: "twitter:card", content: "summary_large_image"});
875
- this.markup.push (2, "meta", {name: "twitter:title", content: this.var.title});
876
- this.markup.push (2, "meta", {name: "twitter:description", content: this.var.description});
877
- this.markup.push (2, "meta", {name: "twitter:image", content: this.var ["content:poster"]});
874
+ this.markup.push (2, "meta", {name: "twitter:card", content: "summary"});
875
+ this.markup.push (2, "meta", {name: "twitter:title", property: "og:title", content: this.var.title});
876
+ this.markup.push (2, "meta", {name: "twitter:description", property: "og:description", content: this.var.description});
877
+ if (this.var ["twitter:image"] || this.var ["content:poster"]) this.markup.push (2, "meta", {name: "twitter:image", content: (this.var ["twitter:image"] || this.var ["content:poster"])});
878
878
  this.markup.push (2, "meta", {property: "og:site_name", content: this.var.site.name});
879
- this.markup.push (2, "meta", {property: "og:title", content: this.var.title});
880
- this.markup.push (2, "meta", {property: "og:description", content: this.var.description});
879
+ if (false) this.markup.push (2, "meta", {property: "og:title", content: this.var.title});
880
+ if (false) this.markup.push (2, "meta", {property: "og:description", content: this.var.description});
881
881
  this.markup.push (2, "meta", {property: "og:url", content: this.var.canonical});
882
- if (this.var ["og:image"] || this.var ["content:poster"]) this.markup.push (2, "meta", {property: "og:image", content: this.var ["content:poster"]});
882
+ if (this.var ["og:image"] || this.var ["content:poster"]) this.markup.push (2, "meta", {property: "og:image", content: (this.var ["og:image"] || this.var ["content:poster"])});
883
883
  this.markup.push (2, "meta", {property: "og:type", content: this.var ["og:type"]});
884
884
  this.markup.push (2, "meta", {property: "og:locale", content: this.var ["og:locale"]});
885
885
  for (var i in this.var.meta) this.markup.push (2, "meta", this.var.meta [i]);