🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

gitbook-plugin-jazer

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-jazer - npm Package Compare versions

Comparing version
1.0.55
to
1.0.56
+1
-1
assets/question/question_website.html

@@ -6,3 +6,3 @@ <div class="question" style="<% if (config.width){ print("width: "+ config.width +";"); }%> <% if (config.color){ print("border: medium solid "+ config.color +";"); }%>">

</div>
<div class ="editor" data-solution="<%= codes.solution %>" data-validation="<%= codes.validation %>" data-language="<%= codes.language %>" <% if (config.gutter !== undefined){ print("data-gutter='"+ config.gutter.trim() +"'"); }%>style="<% if (config.fontSize){ print("font-size: "+ config.fontSize +";"); }%><% if (config.editorHeight){ print("height: "+ config.editorHeight +";"); }%> <% if (config.editorAutoHeight === "solution" && !config.editorHeight){ print("height: "+ codes.solution.split(/\r\n|\r|\n/).length * config.factor +"px;"); }%><% if (config.editorAutoHeight === "editor" && !config.editorHeight){ print("height: "+ codes.editor.split(/\r\n|\r|\n/).length * config.factor +"px;"); }%>"><%= codes.editor %></div>
<div class ="editor" data-server="<%= config.server %>" data-solution="<%= codes.solution %>" data-validation="<%= codes.validation %>" data-language="<%= codes.language %>" <% if (config.gutter !== undefined){ print("data-gutter='"+ config.gutter.trim() +"'"); }%>style="<% if (config.fontSize){ print("font-size: "+ config.fontSize +";"); }%><% if (config.editorHeight){ print("height: "+ config.editorHeight +";"); }%> <% if (config.editorAutoHeight === "solution" && !config.editorHeight){ print("height: "+ codes.solution.split(/\r\n|\r|\n/).length * config.factor +"px;"); }%><% if (config.editorAutoHeight === "editor" && !config.editorHeight){ print("height: "+ codes.editor.split(/\r\n|\r|\n/).length * config.factor +"px;"); }%>"><%= codes.editor %></div>
<div class= "correct"> <i class="fa fa-check-square-o fa-lg"></i> Correct </div>

@@ -9,0 +9,0 @@ <div class= "fail" > <i class="fa fa-times fa-lg"></i> Match Failed</div>

@@ -12,2 +12,3 @@ require(["gitbook"],function(gitbook){

var loadIcon = $question.find('.load-icon');
var server = $question.find(".editor").attr('data-server');
editor.setTheme("ace/theme/dreamweaver");

@@ -43,3 +44,3 @@

$.ajax({
url: 'http://10.6.128.62:8080/',
url: server || 'http://10.6.128.62:8080/',
type: 'POST',

@@ -46,0 +47,0 @@ data: JSON.stringify(obj),

{
"name": "gitbook-plugin-jazer",
"version": "1.0.55",
"version": "1.0.56",
"description": "Gitbook exercises validated through a XRegExp and Javascript (work in progress)",

@@ -5,0 +5,0 @@ "keywords": [