Skip to content

Commit

Permalink
Prep for v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
websemantics committed Mar 21, 2017
1 parent 90f5f5c commit 315a817
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this section.
## [1.2.0] - 2017-03-21
### Changed
- Update to [Masonry Plus 1.1.0](https://github.com/websemantics/masonry-plus)

- Clean-up code

## [1.1.4] - 2016-08-20
### Changed
- Use Prism Js instead of Google Syntax Highlighter
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"markdown-html-ast": "*",
"masonry-plus": "*",
"prismjs": "*",
"semantic-ui": "^2.2.9",
"underscore.string": "*"
},
"browserify": {
Expand Down
15 changes: 2 additions & 13 deletions src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1">
<link rel="shortcut icon" href=/img/favicon.png>
<meta name=author content="Adnan Sh. Sagar, PhD.">
<meta name=author content="Adnan M.Sagar, PhD.">
<title>Cheatsheet</title>
<meta name=description content="A quick reference cheat sheet for PyroCMS 3.">
<meta name=keywords content="Laravel, Spark">
<meta name=keywords content="Laravel, Pyrocms, Cheatsheet">
<link href=css/styles.css rel=stylesheet>
<script id=segment-template type=text/x-handlebars-template>
<div class="ui clearing brick segment" data-filter="{{id}}">
Expand All @@ -21,17 +21,6 @@
<script id=button-template type=text/x-handlebars-template>
<div data-filter="{{id}}" class="ui {{color}} inverted tiny basic button">{{title}}</div>
</script>
<script id=bragit-template type=text/x-handlebars-template>
<a class="ui labeled mini button github-{{repository}}-stars">
<div class="ui mini button">
<i class="star icon"></i>Stars
</div>
<div class="ui basic left pointing label">
<i class="spinner loading icon"></i>
</div>
</a>
<a class="ui mini button github-{{repository}}-github"> <i class="github icon"></i> Github </a>
</script>
</head>

<body class="minimal pushable">
Expand Down
6 changes: 2 additions & 4 deletions src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
| cheatsheet : Generic project template
| Cheatsheet : Generic project template
|
| @link http://websemantics.ca
| @author Web Semantics, Inc. Dev Team <[email protected]>
Expand Down Expand Up @@ -32,12 +32,11 @@ $(function() {
var lights = true
var comments = true
var icon = "file text outline"
var title = "PyroCMS 3 Cheatsheets"
var title = "PyroCMS 3 Cheatsheet"
var repo = 'websemantics/pyrocms-cheatsheet'
var colors = ['red', 'orange', 'yellow', 'olive', 'green', 'teal', 'blue', 'violet', 'purple', 'pink', 'brown', 'grey']
var segment = Handlebars.compile($("#segment-template").html())
var button = Handlebars.compile($("#button-template").html())
var bragit = Handlebars.compile($("#bragit-template").html())

/**
* Called when all cheat files are fully loaded
Expand Down Expand Up @@ -168,7 +167,6 @@ $(function() {
}
})

/* $('.item.bragit').append(bragit(cheats)); TODO */
setTimeout(onCheatsheetsLoaded,300);
})
})

0 comments on commit 315a817

Please sign in to comment.