mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Bugfix: Fixes #128 Fixes issue where compressed/concatenated file breaks if angular is not present.
This commit is contained in:
parent
b8675cb43f
commit
e4d96c4fd8
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "showdown",
|
||||
"version": "0.3.3",
|
||||
"version": "0.3.4",
|
||||
"author": "John Fraser",
|
||||
"contributors": [
|
||||
"John Gruber",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
|
||||
//Check if AngularJs and Showdown is defined and only load ng-Showdown if both are present
|
||||
if (angular && Showdown) {
|
||||
if (typeof angular !== 'undefined' && typeof Showdown !== 'undefined') {
|
||||
|
||||
(function (module, Showdown) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user