<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>edgegram</author_name>
  <author_url>https://blog.hatena.ne.jp/edgegram/</author_url>
  <blog_title>edgegram</blog_title>
  <blog_url>https://edgegram.hatenablog.jp/</blog_url>
  <categories>
    <anon>backbone</anon>
  </categories>
  <description>Backboneでvalidateを簡単にしてくれるプラグインBackbone.Validation。 GitHub - thedersen/backbone.validation: A validation plugin for Backbone.js that validates both your model as well as form input 正規表現で入力値をチェックできるpatternを使ったら、空文字もエラー扱いになって困った。 ドキュメントのAdding custom validatorsを参考に、独自patternを作って対処。 _.extend(Backbone.V…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fedgegram.hatenablog.jp%2Fentry%2F2016%2F02%2F29%2F114003&quot; title=&quot;Backbone.Validationが空文字を許してくれない - edgegram&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-02-29 11:40:03</published>
  <title>Backbone.Validationが空文字を許してくれない</title>
  <type>rich</type>
  <url>https://edgegram.hatenablog.jp/entry/2016/02/29/114003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
