スナップショットの削除 (Vue.js + LocalStorage)
961616
function removeSnapshot(name) {
		localStorage.removeItem(SNAPSHOT_PREFIX + name);
		snapshotsList = snapshotsList.filter(function(e) {
			return e.name !== name;
		});
		delete snapshots[name];
		data.snapshots = snapshotsList;
	}
947890
function init (Vue/*, options = {}*/) {
  setVue(Vue)

  Vue.prototype.$getConfig = () => {
    console.warn('[Vue Render] "this.$getConfig" is deprecated, please use "jud.config" instead.')
    return jud.config
  }

  const htmlRegex = /^html:/i
  Vue.config.isReservedTag = tag => htmlRegex.test(tag)
  Vue.config.parsePlatformTagName = tag => tag.replace(htmlRegex, '')

  // register sdk components.
  for (const name in components) {
    jud.registerComponent(name, components[name])
  }

  /* istanbul ignore next */
  // if (process.env.NODE_ENV === 'development') {
  //   if (semver.lt(Vue.version, '2.1.5')) {
  //     console.warn(`[Vue Render] The version of Vue should be ` +
  //       `greater than 2.1.5, current is ${Vue.version}.`)
  //   }
  //   console.info(`[Vue Render] Registered components: `
  //     + `[${Object.keys(components).join(', ')}].`)
  Vue.mixin(base)
  Vue.mixin(style)
  // }
}
931462
function (locals, cb) {
    if (typeof locals === 'function') {
      cb = locals;
      locals = {};
    }

    lazy.each(this.items, function (item, next) {
      this.app.render(item, locals, next);
    }.bind(this), cb);
  }
1057461
function( HTMLCode ){

        var processedHTMLCode =
                HTMLCode
                    .replace( /<!-- InstanceBegin template[^>]+ -->/i, "" )
                    .replace( "<!-- InstanceEnd -->", "" ), // 重複を避けるため、あらかじめ削除。
            $ = cheerio.load( utils.activateInstanceTags( processedHTMLCode ), { decodeEntities: false } );

        // このテンプレートから生成されるHTMLコードに対し、出自を示すタグ<!-- InstanceBegin template -->を付与する。
        // また、このタグには、任意の属性を適用できるようプレースホルダ（__template_attr__）を設置する。
        // なお、このテンプレートが親テンプレートを持つ場合、すでに<!-- InstanceBegin 〜 -->記述を持つ可能性がある。
        // そのため、変数processedHTMLCodeの定義時において、あらかじめ<!-- InstanceBegin 〜 -->を削除している。
        $( "html" )
            .prepend( [
                "<!--",
                " InstanceBegin template=\"/" + this.id + "\"",
                "<%=",
                " typeof __template_attr__ !== 'undefined' ? __template_attr__: ",
                " typeof __default__.__template_attr__ !== 'undefined' ? __default__.__template_attr__: '' ",
                " %>",
                " -->"
            ].join( "" ) )
            .append( "<!-- InstanceEnd -->" );

        // InstanceEditableのうち、入れ子の親になっている要素のみを削除
        $( "InstanceEditable" ).each( function( index, elm ){
            var $this = $( elm ),
                hasNestedEditable = ~$this.html().indexOf( "<!-- TemplateBeginEditable " );

            if( hasNestedEditable ){
                $this.after( $this.contents() ).remove();
            }
        } );

        processedHTMLCode = utils.replaceWithPatterns(
            this.convertResourcePathFormat( $.html() ),
            {
                "<instanceeditable name=\"([^\"]+)\">[\\s\\S]*?</instanceeditable>": "<!-- InstanceBeginEditable name=\"$1\" --><% if( typeof $1 !== 'undefined' ){ %><%= $1 %><% } else { %><%= __default__.$1 %><% } %><!-- InstanceEndEditable -->",
                "<!-- TemplateBeginEditable name=\"([^\"]+)\" -->[\\s\\S]*?<!-- TemplateEndEditable -->": "<!-- InstanceBeginEditable name=\"$1\" --><% if( typeof $1 !== 'undefined' ){ %><%= $1 %><% } else { %><%= __default__.$1 %><% } %><!-- InstanceEndEditable -->"
            }
        );

        utils.log( this.id, "templateSrc", processedHTMLCode );

        return processedHTMLCode;
    }
577214
public static function Find ($url) {
		$url =ltrim($url, '/');

		$controller	= 'error';
		$action		= 'not_found';
		$parameter	= [];
		$options	= [];

		$default_protocol = ['http', 'https'];

		$current_protocol = static::GetCurrentProtocol();

		//共通設定オプションの有無の取得
		$enable_common_options = !empty(static::$_commonOptions);

		//ルールベースオプションの有無の判定
		$rule_base_options = [];
		$rule_base_option_master = static::$_ruleBaseOptions;
		ksort($rule_base_option_master);
		foreach ($rule_base_option_master as $rule => $options) {
			if (preg_match(sprintf("/^%s$/", str_replace('/', "\\/", ltrim($rule, '/'))), $url) === 1) {
				$rule_base_options = array_merge($rule_base_options, $options);
			}
		}

		$pre_options = array_merge(static::$_commonOptions, $rule_base_options);
		if (isset($pre_options['error'])) {
			$error_options = $pre_options['error'];
			if (isset($error_options['controller'])) {
				$controller = $error_options['controller'];
			} else if (isset($error_options[0])) {
				$controller = $error_options[0];
			}
			if (isset($error_options['action'])) {
				$action = $error_options['action'];
			} else if (isset($error_options[1])) {
				$action = $error_options[1];
			}
		}

		//Connection単位で処理
		foreach (static::$_connectionList as $connection) {
			//下準備
			$path = ltrim($connection['path'], '/');

		 	if (!isset(static::$_reverseUrl[':path:'][$path])) {
		 		static::$_reverseUrl[':path:'][$path] = static::PursePathRegex($path);
			}
			list($regex_url, $parameter_list, $pattern_list) = static::$_reverseUrl[':path:'][$path];

			//マッチング
			$match_pattern = sprintf('@^%s$@u', str_replace('@', '\@', $regex_url));

			$match_pattern = str_replace('\ud', '[1-9][0-9]*|0', $match_pattern);
			$match_pattern = str_replace('\nn', '[1-9][0-9]*', $match_pattern);

			if (preg_match($match_pattern, $url, $matches) == 1) {
				$parameter = [
					static::ROUTING_URL	=> array_shift($matches),
				];

				foreach (array_filter($parameter_list, function ($value) {return $value !== '';}) as $idx => $parameter_name) {
					$parameter[$parameter_name] = $matches[$idx];
				}

				$options = $connection['options'];
				if ($enable_common_options && $options !== null) {
					$options = array_merge(static::$_commonOptions, $options);
				}
				$options = array_merge($rule_base_options, $options);

				$protocol = (array) (isset($options['protocol']) ? $options['protocol'] : $default_protocol);

				if (!in_array($current_protocol, $protocol, true)) {
					continue;
				}

				$controller = isset($options['controller']) ? $options['controller'] : null;
				$controller = $controller ?: (isset($options[0]) ? $options[0] : null);
				$controller = $controller ?: (isset($parameter['controller']) ? $parameter['controller'] : 'index');
				$controller = str_replace('/', '_', $controller);

				$action = isset($options['action']) ? $options['action'] : null;
				$action = $action ?: (isset($options[1]) ? $options[1] : null);
				$action = $action ?: (isset($parameter['action']) ? $parameter['action'] : 'index');
				$action = str_replace('/', '_', $action);

				return compact('controller', 'action', 'parameter', 'options');
			}
		}

		$controller = str_replace('/', '_', $controller);
		$action = str_replace('/', '_', $action);

		return compact('controller', 'action', 'parameter', 'options');
	}
698701
function (options) {
            var isIE7 = ariaCoreBrowser.isIE7;

            // Throw an error only in IE7
            this.$HTML5Storage.constructor.call(this, options, "localStorage", !isIE7);

            if (!this.storage && isIE7) {
                var instance = new ariaStorageUserData(options);
                fallback(this, instance);

                /**
                 * Whether or not this instance is using a fallback mechanism for localStorage
                 * @type aria.storage.UserData
                 * @protected
                 */
                this._fallback = instance;
            }
        }
1018259
function (rules) {
			var stringifyRules = encode(JSON.stringify(rules));
			localStorage.setItem(constants.LOCAL_STORAGE_TEMP_RULES_KEY, stringifyRules);
		}
698496
private function returnLocalParam($localStorage, $variable, $default = false)
    {
        if (!empty($variable)) {
            if (isset($this->{$localStorage}[$variable])) {
                return $this->{$localStorage}[$variable];
            } else {
                return $default;
            }
        } else {
            return $this->{$localStorage};
        }
    }
437630
function(){
		// とりあえず盤面全部の対応だけ
		var d0 = this.area, d = {x1:d0.x1,y1:d0.y1,x2:d0.x2,y2:d0.y2};
		var key_undo = this.board.exec.boardtype[this.old][0];
		if(key_undo & this.TURN){ var tmp=d.x1;d.x1=d.y1;d.y1=tmp;}
		this.exec(key_undo,d);
	}
111274
function saveResolvedLocalsInData() {
    var localNames = previousOrParentNode.tNode.localNames;
    if (localNames) {
        for (var i = 0; i < localNames.length; i += 2) {
            var index = localNames[i + 1];
            var value = index === -1 ? previousOrParentNode.native : directives[index];
            viewData.push(value);
        }
    }
}
513874
function StorageHandle() {
  this.storageSupport = storageSupportAnalyse();
  switch (this.storageSupport) {
    case 0:
      var exec = require('cordova/exec');
      this.storageHandlerDelegate = exec;
      break;
    case 1:
      var localStorageHandle = require('./LocalStorageHandle');
      this.storageHandlerDelegate = localStorageHandle;
      break;
    case 2:
      console.log("ALERT! localstorage isn't supported");
      break;
    default:
      console.log("StorageSupport Error");
      break;
  }
}
859413
function vuexInit () {
    var options = this.$options;
    // store injection
    if (options.store) {
      this.$store = typeof options.store === 'function'
        ? options.store()
        : options.store;
    } else if (options.parent && options.parent.$store) {
      this.$store = options.parent.$store;
    }
  }
178722
function LocalStorage (params) {
  events.EventEmitter.call(this);

  if (!params || typeof params === 'string') {
    params = {
      ns: params || ''
    };
  }

  this.ns = params.ns || '';

  if (typeof this.ns !== 'string') {
    throw new Error('Namespace must be a string.');
  }

  this.preSave = params.preSave || defProcessor;
  this.postLoad = params.postLoad || defProcessor;

  if (this.preSave && typeof this.preSave !== 'function') {
    throw new Error('preSave option must be a function');
  }

  if (this.postLoad && typeof this.postLoad !== 'function') {
    throw new Error('postLoad option must be a function');
  }

  this.EVENTS = EVENTS;
}
983510
function load() {
      var key, data, value, pos = 0;

      items = {};

      // localStorage can be disabled on WebKit/Gecko so make a dummy storage
      if (!hasOldIEDataSupport) {
        return;
      }

      function next(end) {
        var value, nextPos;

        nextPos = end !== undefined ? pos + end : data.indexOf(',', pos);
        if (nextPos === -1 || nextPos > data.length) {
          return null;
        }

        value = data.substring(pos, nextPos);
        pos = nextPos + 1;

        return value;
      }

      storageElm.load(userDataKey);
      data = storageElm.getAttribute(userDataKey) || '';

      do {
        var offset = next();
        if (offset === null) {
          break;
        }

        key = next(parseInt(offset, 32) || 0);
        if (key !== null) {
          offset = next();
          if (offset === null) {
            break;
          }

          value = next(parseInt(offset, 32) || 0);

          if (key) {
            items[key] = value;
          }
        }
      } while (key !== null);

      updateKeys();
    }
91080
function(lastope){
		// 前回と同じ場所なら前回の更新のみ
		var property = this.property;
		if( lastope.group    === this.group &&
			lastope.property === this.property  &&
			lastope.num      === this.old   &&
			lastope.bx       === this.bx    &&
			lastope.by       === this.by    &&
			(property === 'qnum'  || 
			 property === 'qnum2' ||
			 property === 'qchar' ||
			 property === 'anum'  ||
			(property === 'snum' && lastope.pos === this.pos))
		)
		{
			lastope.num = this.num;
			return true;
		}
		return false;
	}
51495
function (cb) {
		var name = this.name,
			data = JSON.parse(window.localStorage[name] || (window.localStorage[name] = '[]')),
			res = cb.call(this, data);
		if (res !== false) {
			can.each(data, function (todo) {
				delete todo.editing;
			});
			window.localStorage[name] = JSON.stringify(data);
		}
	}
404864
function(node1, node2){
		if(node1.nodes.indexOf(node2)>=0){ return;} // 多重辺にしないため
		node1.nodes.push(node2);
		node2.nodes.push(node1);
		
		if(!this.rebuildmode){
			if(this.modifyNodes.indexOf(node1)<0){ this.modifyNodes.push(node1);}
			if(this.modifyNodes.indexOf(node2)<0){ this.modifyNodes.push(node2);}
		}
	}