Sha256: aea1ac8780ef466459edf5aece42bf90b0027529329ec11d5a2f1b16bbb7fb2c

Contents?: true

Size: 1.72 KB

Versions: 3

Compression:

Stored size: 1.72 KB

Contents

{:uriI"Ífile:///Users/eisuke-oishi/work/kuroko2_oss/app/assets/javascripts/kuroko2/definition_linker.js?type=application/javascript&pipeline=self&id=ae21df99217551c881eb183a01e7e0f28fcf4eae34fb9e42ed1b2a51ce3b8e73:ET:load_pathI"@/Users/eisuke-oishi/work/kuroko2_oss/app/assets/javascripts;T:
filenameI"]/Users/eisuke-oishi/work/kuroko2_oss/app/assets/javascripts/kuroko2/definition_linker.js;T:	nameI"kuroko2/definition_linker;T:logical_pathI"&kuroko2/definition_linker.self.js;T:content_typeI"application/javascript;T:sourceI"kjQuery(function ($) {
  function setDeifinitionLink(script) {
    script = script.replace(/sub_process:\s+(\d+)\s*$/gm, function(match, jobId) {
      return '<a href="/definitions/' + jobId + '">' + match + '</a>';
    });

    script = script.replace(/^wait:\s*(.+)\s*$/gm, function(match, option) {
      return 'wait: ' + option.replace(/(\d+)\/\w+/g, function(match, jobId){
	return '<a href="/definitions/' + jobId + '">' + match + '</a>';
      });
    });

    return script
  }

  $('pre.kuroko-script').each(function(){
    var script = $(this).html();
    $(this).html(setDeifinitionLink(script));
  });
});
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"kfile-digest:///Users/eisuke-oishi/work/kuroko2_oss/app/assets/javascripts/kuroko2/definition_linker.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%^]Íbsé«:==Pþ0z)ªæ›¤XÞu‰XÆDÎdí¾Ñ::lengthik:dependencies_digest"%ÝPKÏ“0éÅbÒ”Ýaš•LÒŽ:ªÿ°YøÚäÊ:idI"Eae21df99217551c881eb183a01e7e0f28fcf4eae34fb9e42ed1b2a51ce3b8e73;F:
mtimel+Õ­…X

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kuroko2-0.3.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/e-/e-eUgvpZwH1odYL8DfwmM83pfCVvHshGZyoMTs0j5wQ.cache
kuroko2-0.3.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/e-/e-eUgvpZwH1odYL8DfwmM83pfCVvHshGZyoMTs0j5wQ.cache
kuroko2-0.3.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/e-/e-eUgvpZwH1odYL8DfwmM83pfCVvHshGZyoMTs0j5wQ.cache