@codeforamerica/style
Advanced tools
Comparing version 4.0.9 to 5.0.0
@@ -8,2 +8,7 @@ # Changelog | ||
## [Unreleased] | ||
## [5.0.0] - 2019-02-25 | ||
- Too many changes to list. See the commit log for individual changes. | ||
## [4.0.9] - 2018-12-10 | ||
### Added | ||
@@ -10,0 +15,0 @@ - Added `.message--success` for those times when things just... go well. |
$(function() { | ||
var content = $('.styleguide-content'); | ||
var content = $('.main-content'); | ||
var styleguide = new Styleguide(content); | ||
@@ -9,6 +9,2 @@ }) | ||
this.generateCodeSnippets(); | ||
$('.button-toggle-sidebar').click(function(e) { | ||
e.preventDefault(); | ||
$('body').toggleClass('sidebar-open'); | ||
}) | ||
} | ||
@@ -28,3 +24,2 @@ | ||
this.render = function(preview, sampleCode) { | ||
var sampleCodeBox = $('<div class="code-sample"><a class="button-toggle"></a><pre><code class="language-markup"></code></pre></div>'); | ||
@@ -36,6 +31,4 @@ $(sampleCodeBox).find('code').text($(sampleCode).html()); | ||
$(this.content).find('.preview').each(function(index, preview) { | ||
var sampleCode = self.parseCode(preview); | ||
self.render(preview, sampleCode); | ||
}); | ||
@@ -47,2 +40,2 @@ | ||
}) | ||
} | ||
} |
@@ -8,2 +8,6 @@ # Changelog | ||
## [Unreleased] | ||
## [5.0.0] - 2019-02-25 | ||
- Too many changes to list. See the commit log for individual changes. | ||
## [4.0.9] - 2018-12-10 | ||
@@ -10,0 +14,0 @@ ### Added |
$(function() { | ||
var content = $('.styleguide-content'); | ||
var content = $('.main-content'); | ||
var styleguide = new Styleguide(content); | ||
@@ -9,6 +9,2 @@ }) | ||
this.generateCodeSnippets(); | ||
$('.button-toggle-sidebar').click(function(e) { | ||
e.preventDefault(); | ||
$('body').toggleClass('sidebar-open'); | ||
}) | ||
} | ||
@@ -28,3 +24,2 @@ | ||
this.render = function(preview, sampleCode) { | ||
var sampleCodeBox = $('<div class="code-sample"><a class="button-toggle"></a><pre><code class="language-markup"></code></pre></div>'); | ||
@@ -36,6 +31,4 @@ $(sampleCodeBox).find('code').text($(sampleCode).html()); | ||
$(this.content).find('.preview').each(function(index, preview) { | ||
var sampleCode = self.parseCode(preview); | ||
self.render(preview, sampleCode); | ||
}); | ||
@@ -47,2 +40,2 @@ | ||
}) | ||
} | ||
} |
{ | ||
"name": "@codeforamerica/style", | ||
"version": "4.0.9", | ||
"version": "5.0.0", | ||
"description": "Code for America's Styleguide. http://v4.style.codeforamerica.org", | ||
@@ -5,0 +5,0 @@ "main": "_site/js/site.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5703874
209
3315
3