Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codeforamerica/style

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codeforamerica/style - npm Package Compare versions

Comparing version 4.0.9 to 5.0.0

_sass/.DS_Store

5

_site/CHANGELOG.md

@@ -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.

11

_site/js/styleguide.js
$(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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc